diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-07 19:14:46 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-07 19:14:46 +0000 |
commit | 79141f0d78f0c9d3655e3b07c44b77d3e1658d7c (patch) | |
tree | a58da2084a5d3a160d23d078f90669dabc888f4f | |
parent | vim_mode: Fix Ctrl-W j, Ctrl-W k. (diff) | |
download | irssi-scripts-79141f0d78f0c9d3655e3b07c44b77d3e1658d7c.tar.gz irssi-scripts-79141f0d78f0c9d3655e3b07c44b77d3e1658d7c.zip |
vim_mode: Fix i/I/a/A repeat.
-rw-r--r-- | vim-mode/vim_mode.pl | 12 |
1 files changed, 8 insertions, 4 deletions
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 }, |