Saturday, April 7, 2012

Re: How to go back after *

On 17:52 Sat 07 Apr , Simon Nicolussi wrote:
> Dotan Cohen wrote:
> > I was not in Insert mode in the last location so `. will not take me
> > there either.
>
> `. takes you back to the position where the last change was made,
> whereas `` takes you back to the position before the latest jump.
>
> --
> Simon Nicolussi, <sinic@sinic.name>
> http://www.sinic.name/

One should also mention # (:help #) which does the opposite to *. It will take
you back if you did not move the cursor though.

Best regards,
Marcin Szamotulski

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