From 3a25a594cad9dbb3c16aa08d25ebe75d36924244 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 14 Jan 2009 16:24:14 +1300 Subject: [PATCH] add -bar to all :commands --- plugin/NERD_tree.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 5eb49b6..a31a9f7 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -149,11 +149,11 @@ let s:next_buffer_number = 1 " SECTION: Commands {{{1 "============================================================ "init the command that users start the nerd tree with -command! -n=? -complete=dir NERDTree :call s:initNerdTree('') -command! -n=? -complete=dir NERDTreeToggle :call s:toggle('') -command! -n=0 NERDTreeClose :call s:closeTreeIfOpen() -command! -n=1 -complete=customlist,s:completeBookmarks NERDTreeFromBookmark call s:initNerdTree('') -command! -n=0 -complete=customlist,s:completeNERDTreeMirrors NERDTreeMirror call s:initNerdTreeMirror() +command! -n=? -complete=dir -bar NERDTree :call s:initNerdTree('') +command! -n=? -complete=dir -bar NERDTreeToggle :call s:toggle('') +command! -n=0 -bar NERDTreeClose :call s:closeTreeIfOpen() +command! -n=1 -complete=customlist,s:completeBookmarks -bar NERDTreeFromBookmark call s:initNerdTree('') +command! -n=0 -complete=customlist,s:completeNERDTreeMirrors -bar NERDTreeMirror call s:initNerdTreeMirror() " SECTION: Auto commands {{{1 "============================================================ augroup NERDTree