4 ms·
Took me years to learn that one, too. It may be favorite Vim trick now. Basically everything that can make your cursor jump can be used as a motion with a comm
by billybob 15y ago
Took me years to learn that one, too. It may be favorite Vim trick now.
Basically everything that can make your cursor jump can be used as a motion with a command - moving to a mark, undoing/redoing jumps with Ctrl+o and Ctrl+i, and hopping to a matching brace with % are more examples.
Wrote a short intro myself about such revelations: http://nathanmlong.com/vanquish/ http://nathanmlong.com/vanquish/