← Back to team overview

launchpad-dev team mailing list archive

Re: New coding standard for formatting imports

 

On 20 August 2010 00:04, Benji York <benji.york@xxxxxxxxxxxxx> 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



References