Skip to content

Instantly share code, notes, and snippets.

@tobstarr
Created September 12, 2013 15:00
Show Gist options
  • Save tobstarr/6538949 to your computer and use it in GitHub Desktop.
Save tobstarr/6538949 to your computer and use it in GitHub Desktop.
command! Gotags :call Gotags()
function! Gotags()
exec ':silent !gotags $(find . -name "*.go" | grep -v "/test/" | xargs) 2> /dev/null > tags.tmp && mv tags.tmp tags'
redraw!
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment