From 0760d31f2eef9aa6a486851a2d8cf6d9c1307845 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 2 Oct 2010 17:37:56 +0200 Subject: vim_mode: Fix a with count. --- 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 0149844..50792dd 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -936,7 +936,7 @@ sub cmd_movement_a { # Move after current character. Can't use cmd_movement_l() because we need # to mover after last character at the end of the line. my $length = _input_len(); - $pos += $count; + $pos += 1; $pos = $length if $pos > $length; if (!$repeat) { -- cgit v1.2.3