When I type :terminal
to vim8.1, it splits the window and I use it split window. I want to open a new buffer and open the terminal inside it. Basically, like neovim's terminal emulator. Is there a way to do like this?
I think you can use call term_open()
instead. if you want to open shell in current win, it is:
call term_start($SHELL, {'curwin' : 1})
BTW, if you think this command is too long, you can create custom command:
command! Terminal call term_start($SHELL, {'curwin' : 1)
-
1
:terminal
command – Christian Brabandt Aug 30 '18 at 17:39