On Thu, 2019-02-28 at 04:31 +1100, Andrew McGlashan via luv-talk wrote:
I'm sure others have all sorts of vimrc settings,
some might be
interesting and worth sharing. So what do you have?
Hi,
I like this setting:
set tags=tags\;
This neat little trick allows vim to search for files called "tags"
backward recursively up the tree until it hits one, and uses that as
the "exuberant" ctags file.
You run ctags -R in a top level project to index it, then inside vim:
You use ctrl-] to jump to the definition of a tag and ctrl-t to pop
back to the original position you were editing. (Yes it works across
different files and uses a stack of jumps!).
Enjoy!
Damien