diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-03 21:38:25 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-03 21:38:25 +0000 |
commit | 808f6aa9610b1b3c8d8af6c5b7c92d90638f6b00 (patch) | |
tree | 52bf147f7268e92b312aa51b52fb2912d36e1b59 /vim-mode/vim_mode.pl | |
parent | vim_mode: Minor comment fix. (diff) | |
download | irssi-scripts-808f6aa9610b1b3c8d8af6c5b7c92d90638f6b00.tar.gz irssi-scripts-808f6aa9610b1b3c8d8af6c5b7c92d90638f6b00.zip |
vim_mode: Fix c repetition.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index a8dd629..ba736a5 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -407,7 +407,9 @@ sub cmd_operator_c { if (!$repeat) { _update_mode(M_INS); } else { - _insert_buffer(1, $new_pos); + my $pos = _input_pos(); + $pos = _insert_buffer(1, $pos); + _input_pos($pos); } } sub cmd_operator_d { |