From 2ce2c7d227eeba6315259ab579f29f1570797e3f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 7 Oct 2010 04:13:45 +0200 Subject: vim_mode: Add :bnext, :bprev and :bdelete. --- vim-mode/vim_mode.pl | 9 ++++++--- 1 file 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 # :b / # :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, -- cgit v1.2.3