2

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

1 Answer 1

5

You might want emacs -nw file.txt

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

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.