Talk Vim together (11th back: Vim separation), talkvim
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we talked about the removal of the dragon knife: Vim
Life knife method. In this case, let's continue to talk about Vim's knife method: the split knife method of Dragon Sword Vim. Okay, let's just say that,
The words are right. Let's talk Vim together!
Look at the officers, Vim's separation method is a simple saying, that is, to instruct the dragon knife to change from one to two or more, as if you are using more than one
To achieve the effect of separation. Specialized commands are called Vim window separation commands.
Vim's separation method is carried out under the black face. Specific steps: when the removal knife is white-faced, press the colon (:)
Black face, And Enter sp or vsp behind it, and press Enter. This is done by means of a different body knife.
Two. After seeing it, every time you use the separation knife method, there will be an extra dragon removal knife. Professional explanation: If you want to use Vim
When the previous window is divided into two windows, in normal Vim mode, press the colon (:) key to enter the Vim command mode, and enter
Input sp or vsp, and press Enter. Vim starts to execute the window separation command, and Vim will soon become two windows. Sp indicates that
Separate the current window in the direction. After executing this command, you will see the upper and lower windows, and the content in the two windows is exactly the same. And vsp
Separates the current window in the vertical direction. After executing this command, you will see two windows on both sides, and the content in the two windows is exactly one.
Sample. Each time you run a command to separate windows, a new window is displayed.
Look after you, the dragon knife Vim points behind you, you also need a specific method to use the dragon knife behind you. When the Major is called switching to another window
You also need to use the Vim command. However, these methods are relatively simple. Using ctrl + w + h/j/k/l, you can use
Dragon knife. Specifically, you can run the ctrl + w + h/j/k/l command (press ctrl and w at the same time, and any one of hjkl) on
Switch between multiple windows. H, j, k, and l indicate switching the window to the left, down, up, and right. The method for switching the window and moving the light
Similar to the standard method, it is centered on the current window of the cursor, so that the cursor moves above the current window, below, left or right
Window to operate the window where the cursor is located.
Look at the officers, the removal of the dragon knife as if Sun dasheng's change, dasheng grabbed a handful of hair from his body, with a blow of his mouth turned out countless
Sun dasheng. Therefore, when you feel that the use of a dragon knife is insufficient, you can try Vim's separation method, which will let you
In an instant, I have more dragons and knives.
Let's talk about Vim's knife method. Do you want to know more about the knife? In addition, the next loop is decomposed.