Tuesday, March 1, 2011

Re: How to jump to position where last change was made after moving to another file?

On Wed, March 2, 2011 8:03 am, robert song wrote:
> In one file, we can use '. to jump to the position where the last
> change was made.
>
> But if we jump to another file, it can not be used and vim said that
> mark is not set.
>
> For example, I use cscope and jump to the definition of one variable,
> but if I want to return beck to previous place I modified, I should
> use ctrl+o and '. , is there any way to jump directly?

I don't think so. You could always map both commands to e.g. <f7> or so.


regards,
Christian

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

Post a Comment