3 ms·
Wow, ctags. I've been a vim user for a while but haven't been using ctags! Now I shall use it forevermore. I also like using tabs, so I found the following map
by Jach 17y ago
Wow, ctags. I've been a vim user for a while but haven't been using ctags! Now I shall use it forevermore.
I also like using tabs, so I found the following mapping to make tag lookups open in a new tab instead of a new buffer:
map \gt :tab split<CR>:exec("tag ".expand("<cword>"))<CR>
It has a few kinks, but it works well and I think it complements my \tt, \tn, \tp commands. (Tabnew, tabnext, tabprev.)