Monday, November 1, 2010

Re: Go to function definition

> I have built tabs for my cpp project so that I can use omnicompletion... so
> in some sense vim can already know where  is a function implemented.

You mean tags, right? With a ctags database, put the cursor on the
function name and hit control-] (use control-t to go back where you
came from). Also, you can use :tag <tagname>.
Just search for tags vim and you can find many other tricks to jump around.

HTH

--
==============================================
Ivan Sichmann Freitas
Engenharia de Computação 2009
UNICAMP
http://identi.ca/ivansichmann
Grupo Pró Software Livre UNICAMP - GPSL
==============================================

--
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: