New answers tagged


You can use the ":ltag" command which adds the matching tags to the location list for the current window. You can then use the location list commands to browse the matches. BTW, the location list feature was originally developed in 2005 to add support for this command.


Check out :help taglist()—it returns a dictionary of tag-related items. Unfortunately, the quickfix list works with exact locations (file, line, and column). Tags provide an Ex command to get to the tag, often a special search pattern. (Example from some vimscript: <C-y> ../links/vim/plugin/pbcopy_op.vim /^vnoremap <silent> <C-y> :<C-...

Top 50 recent answers are included