Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.)


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: