How to switch to a different buffer from a terminal buffer

lukaszkorecki picture lukaszkorecki · Jan 31, 2010 · Viewed 14k times · Source

I've been using emacs for few weeks and it's been great so far - coming from vim was easier than I expected (actually - emacs' keyboard shortcuts feel more... natural).

I have added few customizations like moving between buffers using M-Left/Right/Up/Down because C-x o felt a little bit too slow when I had four files opened at once.

So far - so good :-)

One thing bugs me though:

  1. I open some splits using C-x 3 and C-x 2
  2. I open the terminal in one of them using M-x term ENT
  3. How do I switch to different split using keyboard?

Usual shortcuts obviously don't work - terminal is intercepting every emacs command, and I have to click on different buffer to activate it.

Answer

Josh Matthews picture Josh Matthews · Jan 31, 2010

In term-mode, any regular C-x whatever keybinding becomes C-c whatever instead.