Vim jumplist

To continue my habit of writing this stuff out in an attempt to work more Vim commands into my everyday ingrained vimming habits and memory: CTRL-I and CTRL-O (in Normal mode) are enjoyable. I have long used '' (two single-quotes) to jump me back and forth between the last cursor jump and the current position. But the two commands above jump you back deeper through the jumplist. This works on a per-window basis, meaning it'll jump you between buffers too. A "jump" is defined in the help document, but it includes G, / (i.e. searches), % and friends, and '.

See also :h jump-motions.

Tags:

Leave a Reply

You can use these tags in comments (Note: HTML is automatically escaped inside <pre> tags, nowhere else, so if you post source code, put it in <pre>):

<pre lang="some_programming_language"> 
<em>
<strong>
<a href="url">

NOTE: Comments are automatically spam-filtered. If your comment fails to appear, it was likely munched by the filter. Try not to link-spam or post anything that looks like it was typed by a robot.