News for hackers. Stuff that matters.
Re:Vim anti-patterns by c4n4rd on Wednesday February 08, 2012 @10:47AM (#3566940)
a useful one is 'markers'. I use it a lot when jumping from place to place.

Example: :ma <-- sets a marker at the current cursor location named 'a'

later on, you can go back to this exact place by typing "a (that is quote followed by letter 'a' - the marker you named.

Note that you can have as many markers as you want.

Re:Vim anti-patterns by Nick_C on Wednesday February 08, 2012 @11:26PM (#3569813)
> Example: :ma <-- sets a marker at the current cursor location named 'a'

You don't even need the leading colon, just ma while in normal-mode.