preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.1k stars 485 forks source link

Hide tagbar on tag select #823

Closed godalming123 closed 2 years ago

godalming123 commented 2 years ago

Hi, I would like to make the tagbar hide when you select a tag

alerque commented 2 years ago

Please use separate issues for each topic, we can't track a list of things like this very well. I suggest editing this post to just be about one topic then opening new issues for the other two topics.

alerque commented 2 years ago

Does the g:tagbar_autoclose not cover your use case? See :help tagbar-usage for a description of how it works. Also opening tagbar with :TagbarOpenAutoClose should set that mode, so perhaps what you want to do is use that command for whatever mapping you use to launch tagbar.

godalming123 commented 2 years ago

Yes I have just found that option thanks for your help