From f4cc4a4815e7097724acd54c60a58e78be7363c9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 8 Nov 2010 20:46:30 +0100 Subject: vim-mode: Fix s not using count. Reported by estragib. --- vim-mode/vim_mode.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3