Fork me on GitHub
#emacs
<
2017-12-14
>
valtteri14:12:14

@New To Clojure https://www.gnu.org/software/emacs/manual/html_node/emacs/Mark-Ring.html check this for jumping back to previous positions. Emacs leaves a “mark” with most commands that jump the cursor elsewhere.

New To Clojure14:12:43

@valtteri Seems to work, but order differs from actual. For example, put cursor at the beginning of the file using mouse, then scroll to the end and put cursor there. Press C-u C-SPC and see what happens.

valtteri14:12:48

I don’t use mouse at all with emacs. 🙂 I scroll to the end of buffer with C-> and then C-u C-SPC gets me back to the starting spot.

valtteri15:12:28

You can also always manually leave a mark with C-SPC