Monday, March 7, 2011

Re: Go to Definition?

There are some scripts or plugins but I found all too complicated. My (dumb & working) solution follows. In the project dir I do:

# ctags -R .

In my configuration I mapped <leader>g to script that a) search for tags file in the current dir (and all parents until it gets one), b) regeneratees all tags.

Here is all you need:

https://github.com/lzap/vim-lzap/commit/ca63e9924d2eb48420fa36d37ae30128894c17df

ps - works only on UNIXes 

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: