diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-09 23:05:22 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-09 23:05:22 +0000 |
commit | 143ae36a262401892e6fff8f610375ed9c67ffdb (patch) | |
tree | 8695010f716d5dc6f325cfd776a630920696e168 /vim-mode/vim_mode.pl | |
parent | vim_mode: Mapped irssi and <Nop> commands reset count. (diff) | |
download | irssi-scripts-143ae36a262401892e6fff8f610375ed9c67ffdb.tar.gz irssi-scripts-143ae36a262401892e6fff8f610375ed9c67ffdb.zip |
vim_mode: Allow mappings with numbers.
But not as the first key.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index e866a23..181d854 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2066,8 +2066,8 @@ sub handle_command_cmd { } # Counts - if (!$movement and ($char =~ m/[1-9]/ or - ($numeric_prefix && $char =~ m/[0-9]/))) { + if (!$movement and !$pending_map and + ($char =~ m/[1-9]/ or ($numeric_prefix && $char =~ m/[0-9]/))) { print "Processing numeric prefix: $char" if DEBUG; handle_numeric_prefix($char); return 1; # call _stop() |