jstemmer/gotags

how to integrate with vim :tselect

vimalk78 opened this issue · 1 comments

vim/nvim :tselect can be used to search for a tag and select one from the results and jump to it.

this requires vim to read a tags file which is generated from ctags.

is gotags somehow a replacement for ctags ? is yes how do i use gotags with :tselect

i figured,

  1. generate tags
    gotags -R . > gotags
  2. set tags path in vimrc
    set tags+=<path-to-your-gotags>/gotags