aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-08 16:18:02 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-08 16:18:02 +0000
commit654983c7259fa68c3d4fd3392fbf95a3eab2509d (patch)
tree4bce19314fc8c2d8119c2479cd29a7d2d2fdc98f
parentvim_mode: Fix mapping ex-commands which take an argument. (diff)
downloadirssi-scripts-654983c7259fa68c3d4fd3392fbf95a3eab2509d.tar.gz
irssi-scripts-654983c7259fa68c3d4fd3392fbf95a3eab2509d.zip
vim_mode: Scroll commands are not repeatable.
-rw-r--r--vim-mode/vim_mode.pl12
1 files changed, 4 insertions, 8 deletions
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 => '<C-D>', func => \&cmd_ctrl_d, type => C_NORMAL,
- repeatable => 1 }, # half screen down
- "\x15" => { char => '<C-U>', func => \&cmd_ctrl_u, type => C_NORMAL,
- repeatable => 1 }, # half screen up
- "\x06" => { char => '<C-F>', func => \&cmd_ctrl_f, type => C_NORMAL,
- repeatable => 1 }, # screen down
- "\x02" => { char => '<C-B>', func => \&cmd_ctrl_b, type => C_NORMAL,
- repeatable => 1 }, # screen up
+ "\x04" => { char => '<C-D>', func => \&cmd_ctrl_d, type => C_NORMAL },
+ "\x15" => { char => '<C-U>', func => \&cmd_ctrl_u, type => C_NORMAL },
+ "\x06" => { char => '<C-F>', func => \&cmd_ctrl_f, type => C_NORMAL },
+ "\x02" => { char => '<C-B>', func => \&cmd_ctrl_b, type => C_NORMAL },
# window switching
"\x17j" => { char => '<C-W>j', func => \&cmd_ctrl_wj, type => C_NORMAL },
"\x17k" => { char => '<C-W>k', func => \&cmd_ctrl_wk, type => C_NORMAL },