Reputation: 2045
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
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
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