mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-22 15:08:41 +08:00
Add support of TagbarOpen arguments for TagbarToggle (#800)
This commit is contained in:
parent
dd2f46af80
commit
0441c1c6d9
|
@ -270,9 +270,11 @@ COMMANDS *tagbar-commands*
|
|||
:TagbarClose *:TagbarClose*
|
||||
Close the Tagbar window if it is open.
|
||||
|
||||
:TagbarToggle *:TagbarToggle*
|
||||
:Tagbar
|
||||
:TagbarToggle [{flags}] *:TagbarToggle*
|
||||
:Tagbar [{flags}]
|
||||
Open the Tagbar window if it is closed, or close it if it is open.
|
||||
Additional behaviour can be specified with the same optional {flags}
|
||||
argument as :TagbarOpen.
|
||||
|
||||
:TagbarOpenAutoClose *:TagbarOpenAutoClose*
|
||||
Open the Tagbar window, jump to it and close it on tag selection. This is
|
||||
|
|
|
@ -183,8 +183,8 @@ augroup TagbarSession
|
|||
augroup END
|
||||
|
||||
" Commands {{{1
|
||||
command! -nargs=0 Tagbar call tagbar#ToggleWindow()
|
||||
command! -nargs=0 TagbarToggle call tagbar#ToggleWindow()
|
||||
command! -nargs=? Tagbar call tagbar#ToggleWindow(<f-args>)
|
||||
command! -nargs=? TagbarToggle call tagbar#ToggleWindow(<f-args>)
|
||||
command! -nargs=? TagbarOpen call tagbar#OpenWindow(<f-args>)
|
||||
command! -nargs=0 TagbarOpenAutoClose call tagbar#OpenWindow('fcj')
|
||||
command! -nargs=0 TagbarClose call tagbar#CloseWindow()
|
||||
|
|
Loading…
Reference in New Issue
Block a user