aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-07 02:13:45 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-07 02:13:45 +0000
commit2ce2c7d227eeba6315259ab579f29f1570797e3f (patch)
tree01d28e935e2c9920e1efdf83c5805a409e2486f3
parentvim_mode: Separate Ex-mode commands. (diff)
downloadirssi-scripts-2ce2c7d227eeba6315259ab579f29f1570797e3f.tar.gz
irssi-scripts-2ce2c7d227eeba6315259ab579f29f1570797e3f.zip
vim_mode: Add :bnext, :bprev and :bdelete.
-rw-r--r--vim-mode/vim_mode.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 3cb141a..28ceaf7 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -59,9 +59,9 @@
# :b <partial-channel-name>
# :b <partial-server>/<partial-channel>
# :buffer {args} (same as :b)
-# :bn - switch to next window
-# :bp - switch to previous window
-# * Close window: :bd
+# :bn[ext] - switch to next window
+# :bp[rev] - switch to previous window
+# * Close window: :bd[elete]
# * Display windows: :ls :buffers
# * Display registers: :reg[isters] :di[splay] {args}
# * Display undolist: :undol[ist] (mostly used for debugging)
@@ -307,8 +307,11 @@ my $commands
my $commands_ex
= {
s => \&ex_substitute,
+ bnext => \&ex_bnext,
bn => \&ex_bnext,
+ bprev => \&ex_bprev,
bp => \&ex_bprev,
+ bdelete => \&ex_bdelete,
bd => \&ex_bdelete,
buffer => \&ex_buffer,
b => \&ex_buffer,