Jump to the last change with Vim

Tags: vim

Vim has automatic mark the last change for us. Therefore we can jump quickly with this.

In this article I will show the two commands. There are pretty similar but if you careful notice you will find they jump to the difference position.

Last change and last insert mode stopped mark

Last change `.

`. jump to the position of the last change

Last insert mode stopped `^

`^ jump to the position of last insert mode stopped which is next to the last change

Example

enter image description here