Add Tagbar command as alias for TagbarToggle, closes #151

This commit is contained in:
Jan Larres 2013-06-25 18:12:25 +12:00
parent 82a932406f
commit dacf4f273e
2 changed files with 3 additions and 1 deletions

View File

@ -261,7 +261,8 @@ COMMANDS *tagbar-commands*
Close the Tagbar window if it is open.
:TagbarToggle *:TagbarToggle*
Open the Tagbar window if it is closed or close it if it is open.
:Tagbar
Open the Tagbar window if it is closed, or close it if it is open.
:TagbarOpenAutoClose *:TagbarOpenAutoClose*
Open the Tagbar window, jump to it and close it on tag selection. This is

View File

@ -109,6 +109,7 @@ augroup TagbarSession
augroup END
" Commands {{{1
command! -nargs=0 Tagbar call tagbar#ToggleWindow()
command! -nargs=0 TagbarToggle call tagbar#ToggleWindow()
command! -nargs=? TagbarOpen call tagbar#OpenWindow(<f-args>)
command! -nargs=0 TagbarOpenAutoClose call tagbar#OpenWindow('fcj')