mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-12 21:47:31 +08:00
Add Tagbar command as alias for TagbarToggle, closes #151
This commit is contained in:
parent
82a932406f
commit
dacf4f273e
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user