Vim auto-generate ctags

前端 未结 12 1872
醉话见心
醉话见心 2020-11-29 16:18

Right now I have the following in my .vimrc:

au BufWritePost *.c,*.cpp,*.h !ctags -R

There are a few problems with this:

12条回答
  •  迷失自我
    2020-11-29 16:51

    There is a vim plugin called AutoTag for this that works really well.

    If you have taglist installed it will also update that for you.

提交回复
热议问题