On 2010-05-18, Tony Mechelynck wrote:

> >On Tue, May 18, 2010 at 12:36 PM, robert song wrote:
> >
> >    Hi, everyone.
> >
> >    If I in a C file, and try to jump to the definition of one function
> >    with CTRL-] key, but if the file is modified, I must save the file at
> >    first, is there any way to avoid saving file?

> Or you could use Ctrl-W Ctrl-] (or Ctrl-W ] ) instead of Ctrl-] to go to 
> the source definition in a split window, or even ":tab wincmd ]" 
> (without the quotes) to open the definition in a new tabpage.

Another alternative is to use Ctrl-W } to see the source of the tag
in a preview window.  That will leave the cursor in the original
window, which is useful if you just want to see the definition and
not edit it.

Regards,
Gary

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

Reply via email to