1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Make TagbarOpen command more flexible

This commit is contained in:
Jan Larres
2011-11-23 19:56:31 +13:00
parent c07e878249
commit e9aa349d10
3 changed files with 40 additions and 15 deletions

View File

@@ -85,8 +85,8 @@ augroup END
" Commands {{{1
command! -nargs=0 TagbarToggle call tagbar#ToggleWindow()
command! -nargs=0 TagbarOpen call tagbar#OpenWindow(0)
command! -nargs=0 TagbarOpenAutoClose call tagbar#OpenWindow(1)
command! -nargs=? TagbarOpen call tagbar#OpenWindow(<f-args>)
command! -nargs=0 TagbarOpenAutoClose call tagbar#OpenWindow('fc')
command! -nargs=0 TagbarClose call tagbar#CloseWindow()
command! -nargs=1 TagbarSetFoldlevel call tagbar#SetFoldLevel(<args>)
command! -nargs=0 TagbarShowTag call tagbar#OpenParents()