diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-04 12:46:57 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-04 12:46:57 +0000 |
commit | bf5df119cce145b6009e9a08cb4040e4aded2638 (patch) | |
tree | 511e9442ba4532fcd09545e11e95b6f6a2e1a20d /vim-mode/vim_mode.pl | |
parent | vim_mode: Fix cw/cW on whitespace directly in front of word. (diff) | |
download | irssi-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.pl | 4 |
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; |