diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-04 21:04:39 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-04 21:05:37 +0000 |
commit | d34f1785b5ce85c46ec74bcd095cba740049d5d4 (patch) | |
tree | 019572d443b2a4bf1d4c830fcd62a1baf94da373 /vim-mode/vim_mode.pl | |
parent | vim_mode: Also clear @ex_buf when pressing esc. (diff) | |
download | irssi-scripts-d34f1785b5ce85c46ec74bcd095cba740049d5d4.tar.gz irssi-scripts-d34f1785b5ce85c46ec74bcd095cba740049d5d4.zip |
vim_mode: Fix :abc from display all buffers matching c.
Reported by estragib.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 61672da..47de3cf 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1475,7 +1475,7 @@ sub b_windows_cb { # A little code duplication of cmd_ex_command()! my $arg_str = join '', @ex_buf; - if ($arg_str =~ m|b(?:uffer)?\s*(.+)$|) { + if ($arg_str =~ m|^b(?:uffer)?\s*(.+)$|) { my $buffer = $1; if ($buffer !~ /^[0-9]$/ and $buffer ne '#') { # Display matching windows. |