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.


You might want emacs -nw file.txt

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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