aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-09-30 23:05:41 +0000
committerSimon Ruderich <simon@ruderich.org>2010-09-30 23:26:42 +0000
commitaaf88d8ffe11e65edc855676da135b49f34bd829 (patch)
tree1086be9c592b7bdb974afdeb866afd267e87cdd0
parentvim_mode: Fix esc in ex mode leaving the prompt unchanged. (diff)
downloadirssi-scripts-aaf88d8ffe11e65edc855676da135b49f34bd829.tar.gz
irssi-scripts-aaf88d8ffe11e65edc855676da135b49f34bd829.zip
vim_mode: Add :ls and :buffers.
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index fe7fb58..cb2a182 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -958,6 +958,9 @@ sub cmd_ex_command {
$active_window->print("register $key: $registers->{$key}");
}
}
+ # :ls and :buffers
+ } elsif ($arg_str eq 'ls' or $arg_str eq 'buffers') {
+ Irssi::command('window list');
}
}