Thursday, April 12, 2012

Re: how to go back after CTRL- ]

On 02:31 Thu 12 Apr , gaoqiang wrote:
> I know it will come back using CTRL-o,however,not so conviently as I
> want. for example,when I pressed CTRL-] to another file, and then
> pressed CTRL-f, and then CTRL-o ,I will go back to the position just
> before CTRL -f ,not before CTRL-].
>
> any keys to go back directly to the previous file ,ignoring any
> movement within the file ?
>
> --
> 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

This was discussed recently here in several posts :). See the posts from Apr
08 'gf - How to get back in one hop' and maybe also Apr 07 'How to go back
after'.

Basically, you can use CTRL-^ (CTRL-6 will also work).

Best,
Marcin

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