g*********n 发帖数: 43 | 1 I am using ctags in gvim under Windows. I added the following command to _
vimrc:
set tags=c:\tags
But it doesn't work. When I press ctrl+], it will say "no tags file".
Then I open a gvim session, and type ":set tags=c:\tags". This way it works.
Anyone knows how to add the command to _vimrc, so that it will be
automatically executed each time I open gvim?
Thanks! | t****t 发帖数: 6806 | 2 use $HOME/.vimrc
works.
【在 g*********n 的大作中提到】 : I am using ctags in gvim under Windows. I added the following command to _ : vimrc: : set tags=c:\tags : But it doesn't work. When I press ctrl+], it will say "no tags file". : Then I open a gvim session, and type ":set tags=c:\tags". This way it works. : Anyone knows how to add the command to _vimrc, so that it will be : automatically executed each time I open gvim? : Thanks!
|
|