tags:

views:

52

answers:

1

I like the functionality of <C-O> and <C-I> to go back and forth to different positions. But many times I would prefer to stay within the current buffer, and always get taken by surprise when a new buffer opens up replacing the one I was looking at.

(1) Is there a way to achieve this? i.e., limit <C-O> and <C-I> to the same buffer?

(2) Is there a way to visit all cursor moves, even those that are not normally considered jumps, e.g. 10k?

A: 

As for moving in the same file, check out the '' command. It will jump back and forth between the current location and the last jump.

rlduffy
Thanks. But I was hoping for a much longer stack of jumps tracked, not just the the last one.
Jeet