Questions tagged [plugin-tagbar]

A class outline viewer for Vim

0
votes
1answer
45 views

ctags works but not for tagbar

I'm working with typescript now, and I got this in my ~/.ctags file: --langdef=typescript --langmap=typescript:.ts --regex-typescript=/^[ \t]*(export[ \t]+([a-z]+[ \t]+)?)?class[ \t]+([a-zA-Z0-9_$]+)/...
0
votes
1answer
190 views

how to change gvim width when open/close vimfiler or tagbar?

I'm just new to vim script, and I want to make gvim width auto adjust when open/close vimfiler or tagbar window. here's my not working vim script: let g:window_raw_width = 90 let g:window_width = g:...
6
votes
2answers
141 views

Identify if a buffer is CtrlP or not

I use a autocmd to display current tag via Tabgar plugin like this: autocmd CursorHold * call TagbarCurrentTag However, after I open CtrlP with :CtrlP for a while, the Tagbar's output No current tag ...
1
vote
2answers
1k views

map a key to open Tagbar and NERDTree at the same time

I want to be editing a file like this: --------------- | | | | | DOC | | | | | | | --------------- And then press F5 and open ...
0
votes
1answer
355 views

How to search and jump to tag without going to window of tagbar?

I have tagbar installed and for javascript files I'm using jsctags to generate tags. It's working perfectly. I can use <Enter> in tagbar to jump to a tag. But what I want is an ex command to ...
1
vote
2answers
1k views

Can't get Ctags working

I have a fairly small Javascript project, and when I run ctags -R it seems to generate at least some tags. I get a tags file (no extension?) in the root folder, and when I run wc -l tags it says 8214 ...
1
vote
1answer
1k views

Navigation with Tagbar

I'm using Tagbar (with C++) and I would like to understand if and how it is possible to navigate the code as follow: Find all references of a variable or methods (where the variable or method is used/...
7
votes
2answers
1k views

How to view javascript tags in vim using tagbar + jsctags + tern_for_vim + ctags_exuberant?

I'm writing javascript code using vim and I really like to have outline view for the current javascript file I'm editing. I find tagbar is the popular plugin for this purpose. And on its wiki, for ...