What is “:term”, “:vsplit” and “:ls” in VIM?

What is “:term”, “:vsplit” and “:ls” in VIM?

a. :term

:term‘ is a command in Vim that provides a terminal window support in the text editor. The terminal window availed is a Terminal emulator and can be used to run commands inside Vim, including running shells. For example, to run a bash shell inside the Vim window, enter the ‘:term‘ command then in Terminal type in;

:term bash

 

b. :vsplit

:vsplit‘ is a command in Vim used to divide/split the current Vim window into two, vertically. This command is contrary to the ‘:split‘ command that divides/splits the current Vim window into two, horizontally. ‘:vsplit‘ can take parameters and the width of the divisions can be specified.

 

c. :ls

:ls‘ is a command in Vim used to list all buffers that are listed. Listed in this context means that the buffers are included in the buffer list. If not, the buffers are said to be unlisted. Unlisted buffers can only be seen when the [!] flag is set, like;

:ls[!]

 

What is “:term”, “:vsplit” and “:ls” in VIM?
VIM | thetqweb