gasynctags can search and add gtags db, keep db being always updated in background, with fully vimscript implemented.
ludovicchabant/vim-gutentags provides many features on tags, but I believe "It’s best to do one thing really really well", so gasynctags just focus on gtags, with very lightweight code.
The gasynctags plugin requires the following:
- Vim version 8.1 or above or neovim
- Gnu Global binaries 6.6.3 or above
gasynctags is only tested on linux platform.
- Create gtags db on your project folder.
- once gtags db is created, gasynctags will search and add it to vim.
gasynctags will automatically start if set g:gasynctags_autostart to 1
,
Default: 1
let g:gasynctags_autostart = 0
Enable some useful key maps, set 0 to disable
let g:gasynctags_map_key = 0