On 20 August 2010 00:04, Benji York <[email protected]> wrote:
> Another Vim tip for jumping around: ctrl-o will take you back to where
> you were, so adding an import by hand is:
>
>    1G -- go to the top of the file
>    [misc screwing around to get the import added]
>    ctrl-o -- go back to where you were
>
> Bonus tip: ctrl-i will go forward to where you were before so
> ctrl-i/ctrl-o travel forward/back in a sequence of file positions.

Also 'g;' (gee semicolon) will take you back to the last place you
changed something.

-- 
Martin

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to