When I use vi file.txt my terminal is replaced with a vim session.

I'm toying with emacs and when I use emacs file.txt a second window opens up with emacs.

Is there a way to use the behaviour of vim with emacs? Specifically I want to open emacs from terminal have it take over the screen, then when I quit be back in my previous terminal session.


1 Answer 1


You might want emacs -nw file.txt

  • thanks do you know how I can select the menu items in the terminal mode? May 25, 2017 at 12:13
  • 1
    M-` should run the menu.
    – choroba
    May 25, 2017 at 12:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .