In Vim, we can trace marks by hitting
C-o repeatedly, which is edit history of current Vim session. In Emacs, we can go back to the latest mark by hitting
C-x C-x, but I wanted to go back further marks.
I carefully read Emacs manual and found the solution.
We can trace marks by hitting
C-u C-SPC repeatedly in Emacs.
Emacs has memory for marks called
Mark-Ring which store up to sixteen positions of marks. Unlike Vim's
C-u C-SPC does not jump to other buffers. This means Emacs do not jump to other files. I prefer this behavior, because when we use Emacs we would open a lot of files in it. Remembering "doing everything with Emacs".
With one line configure of Emacs, we can go back to marks continuously like
C-u C-SPC C-SPC C-SPC.
(setq set-mark-command-repeat-pop t)
And if you are using Helm, you would favorite
It enables to find marked lines with Helm interface.
Claim your page on DEV before someone else does
Level up every day