Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
command! -nargs=1 TAG call TAG('<args>')
function! TAG(tagname)
set tags^=tags-novars
set tags^=./tags-novars
exec 'tag ' . a:tagname
set tags-=tags-novars
set tags-=./tags-novars
" Of course, it requires you to have the alternate tags file (I named mine tags-novars)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment