diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-09-27 01:45:36 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-09-27 01:45:36 +0000 |
commit | 8b514733fa3dbfdd0fad2a8e38061a499fca5c7b (patch) | |
tree | 5fab4aa2cfe4184d43b395785b1afd05794c1c22 | |
parent | vim_mode: Display count, operator, movement in statusbar. (diff) | |
download | irssi-scripts-8b514733fa3dbfdd0fad2a8e38061a499fca5c7b.tar.gz irssi-scripts-8b514733fa3dbfdd0fad2a8e38061a499fca5c7b.zip |
vim_mode: Fix . to only ignore movements, and not more.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 38c1aa9..8fa2fee 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -901,7 +901,10 @@ sub handle_command { } # Store command, necessary for . But ignore movements only. - if ($operator) { + if ($operator or $char eq 'x' or $char eq 'r' or + $char eq 'p' or $char eq 'P' or + $char eq 'C' or $char eq 'D' or + $char eq '~') { $last->{char} = $char; $last->{numeric_prefix} = $numeric_prefix; $last->{operator} = $operator; |