08 May 2022

How to split window and open terminal in vim?

 https://dev.to/mr_destructive/vim-terminal-integration-4pfp


^w v

To split window vertically. (the same file is opened in the new split window.)


^w l

To go to the newly split windows on the right


:term

To open a terminal. (The window on the right split horizontally, and the terminal window is on the top.)


^w j

To go to the split window below the terminal window


^w c

To close the window below the terminal window


No comments:

Post a Comment