Fei Xue
Fei Xue

Reputation: 2045

How to switch from shell buffer to another

I learn to use emacs. When I enter M-x shell , I enter the shell mode, but I don't know how to exit shell mode. I want to be back to fundamental mode to continue to my editing work. I search this question Emacs switching out of terminal, but when I press C-c o , the input will be treated as a command, so how to exit ?

Upvotes: 3

Views: 1175

Answers (2)

dzhang
dzhang

Reputation: 31

You can try shell-toggle.el for quick jump back and forth between your current buffer and a shell buffer.

You can also try my hacked version of shell-toggle, which let you open a shell in the path of your current buffer (file). See the following link:

http://zhangda.wordpress.com/2009/04/08/my-hack-on-shell-toggle/

Upvotes: 1

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72755

The shell will be running in a buffer. You can switch back to the buffer where you were doing your work using C-x b.

Upvotes: 2

Related Questions