diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:27:22 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:27:22 +0000 |
commit | c98389640a0d4c6f5bf1668d338ce22ca8e3bfd0 (patch) | |
tree | 45160ebdc12854db759c670bc8317ce266182825 | |
parent | vim_mode: Fix <C-D>/<C-U> only scrolling one line. (diff) | |
download | irssi-scripts-c98389640a0d4c6f5bf1668d338ce22ca8e3bfd0.tar.gz irssi-scripts-c98389640a0d4c6f5bf1668d338ce22ca8e3bfd0.zip |
vim_mode: Add <C-E> and <C-Y>.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 0f56639..88c4bfb 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -44,7 +44,7 @@ # The special registers "* "+ contain both irssi's cut-buffer. # * Line-wise shortcuts: dd cc yy # * Shortcuts: s S C D -# * Scroll the scrollback buffer: Ctrl-D Ctrl-U Ctrl-F Ctrl-B +# * Scroll the scrollback buffer: Ctrl-E Ctrl-D Ctrl-Y Ctrl-U Ctrl-F Ctrl-B # * Switch to last active window: Ctrl-6/Ctrl-^ # * Switch split windows: Ctrl-W j Ctrl-W k # * Undo/Redo: u Ctrl-R @@ -321,8 +321,10 @@ my $commands D => { char => 'D', func => \&cmd_D, type => C_NORMAL, repeatable => 1 }, # scrolling + "\x05" => { char => '<C-E>', func => \&cmd_ctrl_d, type => C_NORMAL }, "\x04" => { char => '<C-D>', func => \&cmd_ctrl_d, type => C_NORMAL, needs_count => 1 }, + "\x19" => { char => '<C-Y>', func => \&cmd_ctrl_u, type => C_NORMAL }, "\x15" => { char => '<C-U>', func => \&cmd_ctrl_u, type => C_NORMAL, needs_count => 1 }, "\x06" => { char => '<C-F>', func => \&cmd_ctrl_f, type => C_NORMAL }, |