Tuesday, March 8, 2011

Re: Undo gd

On 03/07/2011 10:11 PM, Colin Beighley wrote:
> Oftentimes when I use gd to go to the definition of a
> variable, function, etc I would like to return to the place in
> the code I was at before doing that. Is there a hot sequence
> for this? Essentially what I want is an undo gd.

In addition to others' suggestions about

``
''
control+O

if you were typing something, hit <esc> and jumped to the
definition of something with "gd", then you can resume typing
where you left off with "gi"

:help gi

-tim


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