bbatsov / prelude

Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
https://prelude.emacsredux.com
5.12k stars 1.86k forks source link

add cursor navigation functions and shortcuts #1368

Open futurist opened 2 years ago

futurist commented 2 years ago

Is your feature request related to a problem? Please describe.

In vim editor, there's some cursor navigation functions:

[a] '. : Jump to last modification line. [b] `. : Jump to exact spot in last modification line [c] CTRL-O : Retrace your movements in file in backwards. [d] CTRL-I : Retrace your movements in file in forwards.

It's handy if prelude can integrate these functions.

Describe the solution you'd like

Maybe use C-u C-SPC to goto previous cursor position, but it's not navigation, like back and forward again.

Describe alternatives you've considered

Maybe some package from melpa? like goto-chg, goto-last-point, etc.

Additional context

What's the best shortcuts for these features?

bbatsov commented 2 years ago

I'm open to something like this.