Home » Questions » Computers [ Ask a new question ]

How to run 'emacs' in the terminal emulator without a separate window?

How to run 'emacs' in the terminal emulator without a separate window?

I am looking to switch to Emacs from Vim and one thing that is keeping me away is that Emacs opens up a separate window of its own when run under X. Can I get the same behavior for Emacs as Vim does when not run under X?

Asked by: Guest | Views: 160
Total answers/comments: 2
Guest [Entry]

"I'm no emacs expert, but this did the trick for me:

emacs -nw"
Guest [Entry]

Although your question has been answered, I would venture to say that this is not the way any regular user would use emacs. Unlike vim, emacs generally has a longer startup time and anyway tends to be running all the time with multiple open buffers. So when you want to do something with emacs in a terminal, you invoke emacsclient -nw (assuming an emacs serverhas been started). Look at How to start to use EmacsClient for details.