aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-04 12:46:57 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-04 12:46:57 +0000
commitbf5df119cce145b6009e9a08cb4040e4aded2638 (patch)
tree511e9442ba4532fcd09545e11e95b6f6a2e1a20d /vim-mode/vim_mode.pl
parentvim_mode: Fix cw/cW on whitespace directly in front of word. (diff)
downloadirssi-scripts-bf5df119cce145b6009e9a08cb4040e4aded2638.tar.gz
irssi-scripts-bf5df119cce145b6009e9a08cb4040e4aded2638.zip
vim_mode: Fix "xdd and "xyy not resetting the register.
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 588c1e1..dba18dd 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1624,6 +1624,10 @@ sub handle_command_cmd {
if ($char eq 'y') {
_input_pos($pos);
}
+ if ($register ne '"') {
+ print 'Changing register to "' if DEBUG;
+ $register = '"';
+ }
}
$numeric_prefix = undef;
$operator = undef;