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.