From 79141f0d78f0c9d3655e3b07c44b77d3e1658d7c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 7 Oct 2010 21:14:46 +0200 Subject: vim_mode: Fix i/I/a/A repeat. --- vim-mode/vim_mode.pl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'vim-mode/vim_mode.pl') diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 6f779bb..17cbdad 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -260,10 +260,14 @@ my $commands S => { char => 'S', func => \&cmd_S, type => C_NORMAL, repeatable => 1 }, # operator c takes care of insert mode # insert mode - i => { char => 'i', func => \&cmd_i, type => C_INSERT }, - I => { char => 'I', func => \&cmd_I, type => C_INSERT }, - a => { char => 'a', func => \&cmd_a, type => C_INSERT }, - A => { char => 'A', func => \&cmd_A, type => C_INSERT }, + i => { char => 'i', func => \&cmd_i, type => C_INSERT, + repeatable => 1 }, + I => { char => 'I', func => \&cmd_I, type => C_INSERT, + repeatable => 1 }, + a => { char => 'a', func => \&cmd_a, type => C_INSERT, + repeatable => 1 }, + A => { char => 'A', func => \&cmd_A, type => C_INSERT, + repeatable => 1 }, # replace r => { char => 'r', func => \&cmd_r, type => C_NEEDSKEY, repeatable => 1 }, -- cgit v1.2.3