Thursday, April 12, 2012

Re: how to go back after CTRL- ]

On Thursday, April 12, 2012 11:31:45 AM UTC+2, 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 ?

I think you are looking for CTRL+t, which goes back one step in the tag-stack.
see :help CTRL-T

Jeroen

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