-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwindows.txt
27 lines (20 loc) · 1.01 KB
/
windows.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Let's play with windows!
First trick: create a new window by typing :sp now:
Okay, now put your cursor on line 4 and type something. You should see your text appear in both windows AT THE SAME TIME! It's like magic!
Now let's add a new VERTICAL split using the :vs command. You should have one big window and two little ones. Let's mess about a bit with one of the little ones.
Below is a professionally drawn box. Make one of the small windows exactly fit the box using:
<ctrl>+w + : Make a window taller
<ctrl>+w - : Make a window shorter
<ctrl>+w > : Make a window wider
<ctrl>+w < : make a window narrower.
+----------------------------------+
| |
| |
| |
| Box by Jony Ive. |
| |
| |
| |
| |
| |
+----------------------------------+