Fork me on GitHub
#emacs
<
2020-02-22
>
richiardiandrea01:02:12

I there, I have a colleague which is trying to move to emacs and he is using Spacemacs

ag02:02:42

C-o is a default keybinding used in Evil. it’s bound to evil-jump-backward

richiardiandrea01:02:48

he is missing the back to file functionality on Intellij and I was wondering if somebody has a way to jump back and forth to buffers

richiardiandrea01:02:02

but unfortunately it does not work in Spacemacs

richiardiandrea02:02:06

Oh thanks this looks cool

practicalli-johnny07:02:48

@richiardiandrea SPC TABtoggles to the previous buffer, allowing you to switch to the previous file you were editing. The cursor should be on the same place as when you left SPC p atoggles between source and test code, SPC s a toggles between repl and source code. The first two come with Spacemacs by default, the third is Clojure specific. There are some other ideas at https://practicalli.github.io/spacemacs/working-with-projects/ We also recommend using the Spacemacs develop branch at the moment. Feel free to join the #spacemacs channel for Spacemacs specific questions

practicalli-johnny07:02:38

Your colleague may also find markers useful for jumping around https://practicalli.github.io/spacemacs/navigating-code/markers.html

richiardiandrea17:02:23

Thanks for answering! Does it work only in the current buffer or across buffers?

practicalli-johnny18:02:15

Markers seem to only work in a single buffer.