For a quick shell command from Vim, use :!command -a -b arg1 (for example :!ls -l , :!erl % ).
But Emacs is not Vim, they have different ideas behind both. Vim is just a text editor with extensions for programming, this is not the place for the terminal inside (as well as for Tetris and Mx doctor ).
Vim proponents refuse to add a full-blown implementation of the terminal to Vim itself (for more details see :help shell-window ).
If you still need an in-buffer wrapper, you can take a look at ConqueTerm , but it does not work without problems. I tried, but prefer to use tmux / screen to split my console screen state into windows.
source share