I'm JUST starting out emacs. On the right half of the screen I have the interpreter and on the left half of the screen I have my code. I want to switch between these 2 using keyboard only (shortcuts). There is Ctrl-x Left/Right but that one changes the buffer(?) in the current window, what I want is to switch the active window. For example if I'm writing code and is done I can click the shortcut and start writing in the interpreter.

  • Welcome to Emacs.SE! Have a look at the Emacs manual (gnu.org/software/emacs/manual/emacs.html), which will help you find answers to these sorts of questions.
    – Dan
    Commented Sep 14, 2023 at 17:34
  • This is very likely a duplicate question. Please search for tag [window] to see. If so, please delete this question.
    – Drew
    Commented Sep 14, 2023 at 17:47
  • 3
    Does this answer your question? How to switch between windows quickly?
    – Drew
    Commented Sep 14, 2023 at 19:50

1 Answer 1


With default Emacs keybindings, you can do this with C-x o. If you're using evil-mode, you can also use C-w C-w.

  • Very amazing thank you baby boy
    – Rodolf
    Commented Sep 14, 2023 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.