aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl2
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 {