Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a question about using Emacs as editor and terminal.

I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window. Suppose I switched to the terminal buffer, from there I cannot use C-x o to switch to another buffer.

What short cut can I use to switch from the terminal buffer into another?

share|improve this question
Do you know about M-x shell? It plays nicer with emacs. – Tom Apr 27 '12 at 11:58
Thank you for your comment. It seems that there C-c o is working. – math Apr 27 '12 at 12:31

C-c CHAR This is equivalent to C-x CHAR in normal Emacs. For example, C-c o invokes the global binding of C-x o, which is normally other-window.

(Emacs info file, "Term mode")

share|improve this answer
Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another? – math Apr 27 '12 at 10:31
If I use C-c CHAR, in my case, C-c o nothing happens in Emacs. – math Apr 27 '12 at 10:32
Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1) – geekosaur Apr 27 '12 at 10:35
Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts. – math Apr 27 '12 at 11:20
The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you. – geekosaur Apr 27 '12 at 11:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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