Open a zsh terminal in a split window in Neovim
Opening a terminal in Neovim is one of the more eye opening features of the vim fork. To open a terminal in vim use the :terminal command.
:te
:term
:terminal
Those commands though will use your entire current window for the terminal and by default it opons in bash even though my shell is configured to be zsh
To open a terminal in zsh use:
:te zsh
This still takes up the entire window. Lets now use the split command and the terminal protocol syntax to open a split window with zsh.
:sp term://zsh
:split term://zsh
Tweet