From 654983c7259fa68c3d4fd3392fbf95a3eab2509d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 8 Oct 2010 18:18:02 +0200 Subject: vim_mode: Scroll commands are not repeatable. --- vim-mode/vim_mode.pl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'vim-mode') diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index a3d9723..089af2e 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -321,14 +321,10 @@ my $commands D => { char => 'D', func => \&cmd_D, type => C_NORMAL, repeatable => 1 }, # scrolling - "\x04" => { char => '', func => \&cmd_ctrl_d, type => C_NORMAL, - repeatable => 1 }, # half screen down - "\x15" => { char => '', func => \&cmd_ctrl_u, type => C_NORMAL, - repeatable => 1 }, # half screen up - "\x06" => { char => '', func => \&cmd_ctrl_f, type => C_NORMAL, - repeatable => 1 }, # screen down - "\x02" => { char => '', func => \&cmd_ctrl_b, type => C_NORMAL, - repeatable => 1 }, # screen up + "\x04" => { char => '', func => \&cmd_ctrl_d, type => C_NORMAL }, + "\x15" => { char => '', func => \&cmd_ctrl_u, type => C_NORMAL }, + "\x06" => { char => '', func => \&cmd_ctrl_f, type => C_NORMAL }, + "\x02" => { char => '', func => \&cmd_ctrl_b, type => C_NORMAL }, # window switching "\x17j" => { char => 'j', func => \&cmd_ctrl_wj, type => C_NORMAL }, "\x17k" => { char => 'k', func => \&cmd_ctrl_wk, type => C_NORMAL }, -- cgit v1.2.3