How to jump back to the last position of the cursor in emacs?
-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles
--
Chapters
00:00 Question
00:27 Accepted answer (Score 46)
00:51 Answer 2 (Score 14)
01:25 Answer 3 (Score 7)
01:52 Thank you
--
Full question
https://superuser.com/questions/241939/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#emacs
#avk47
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles
--
Chapters
00:00 Question
00:27 Accepted answer (Score 46)
00:51 Answer 2 (Score 14)
01:25 Answer 3 (Score 7)
01:52 Thank you
--
Full question
https://superuser.com/questions/241939/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#emacs
#avk47
ACCEPTED ANSWER
Score 52
I believe what you are searching for is pop-global-mark
, usually bound to C-x C-@ and C-x C-SPC.
The global mark ring is updated automatically on many occasions such as buffer switching, accidental or otherwise.
ANSWER 2
Score 15
You can use the command previous-buffer which in my version (GNU Emacs 23.2.1) is bound to C-x left-arrow
by default.
Just type Meta-x describe-key C-x left for further information
There is also winner-mode that binds C-c left arrow
to winner-undo which in short allows you to undo any change done to your windows.
ANSWER 3
Score 9
In Spacemacs and Doom Emacs, C-o
is bound to evil-jump-backward
GitHub Repositories