Reputation: 39837
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
?
Upvotes: 7
Views: 1862
Reputation: 618
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.
Upvotes: 5