diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-11-08 19:46:30 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-11-08 19:46:30 +0000 |
commit | f4cc4a4815e7097724acd54c60a58e78be7363c9 (patch) | |
tree | 09d91a23f1773e57afc127de21c8271df51ee5e2 | |
parent | removed test/ dir since it was causing too much trouble (diff) | |
download | irssi-scripts-f4cc4a4815e7097724acd54c60a58e78be7363c9.tar.gz irssi-scripts-f4cc4a4815e7097724acd54c60a58e78be7363c9.zip |
vim-mode: Fix s not using count.
Reported by estragib.
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 5a51e24..3ed29ae 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1336,7 +1336,7 @@ sub cmd_s { my ($count, $pos, $repeat) = @_; $operator = $commands->{c}; - return (undef, $pos + 1); + return (undef, $pos + $count); } sub cmd_S { |