May
15
2009
0
Emacs: Remembering Cursor Position
Posted by Rex under Computing | Permalink | | Leave A Comment
Emacs has a little package called SaveSpace that makes Emacs remember the position of the cursor for each file you opened. It’s nice to open a file and the cursor automatically jumps to where it was last. Sweet!
To enable SaveSpace, add the following configurations in your ~/.emacs file
(setq save-place-file “~/.emacs.d/saveplace”)
(setq-default save-place t)
(require ‘saveplace)