aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim-mode/vim_mode.pl5
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;