ctags use
project
`-----misccomp
| `...
`-----sysint
`-----client
| `-----hdrs
| `-----lib
| `-----src
| `-----test
`-----common
| `-----hdrs
| `-----lib
| `-----src
| `-----test
`-----server
`-----hdrs
`-----lib
`-----src
`-----test
cd project
ctags -R
then add this to .vimrc (/ect/vim/vimrc)
set tags=tags;
the magic is the ‘;’ at end. it will make vim tags file search go up from current directory until it finds one.
Reference:
0 意見:
張貼留言