aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-01 00:00:04 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-01 00:00:04 +0000
commitc1c1b33cb6210e689926d15fc466fdc129a736d7 (patch)
tree93280fee5360b6931e0bbdf9d7699d571db898a7 /vim-mode/vim_mode.pl
parentvim_mode: Add Ctrl-6 in command mode, same like :b#. (diff)
downloadirssi-scripts-c1c1b33cb6210e689926d15fc466fdc129a736d7.tar.gz
irssi-scripts-c1c1b33cb6210e689926d15fc466fdc129a736d7.zip
vim_mode: Add :undol[ist], remove Ctrl-D.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index a9b7d0f..8eef556 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -290,8 +290,6 @@ my $movements
# undo
'u' => { func => \&cmd_undo },
"\x12" => { func => \&cmd_redo },
- "\x04" => { func => \&_print_undo_buffer },
-
};
# special movements which take an additional key
@@ -973,6 +971,8 @@ sub cmd_ex_command {
# :ls and :buffers
} elsif ($arg_str eq 'ls' or $arg_str eq 'buffers') {
Irssi::command('window list');
+ } elsif ($arg_str eq 'undol' or $arg_str eq 'undolist') {
+ _print_undo_buffer();
}
}