[Vim]Resizing windows

Tue Feb 25

Vim practice

Author:Noritaka

Astroのロゴ。
Resizing windows
Copy and paste the below text and type some commands like below.

---
1. <C-w>s <C-w>v         (separate window)
2. <C-w>w                (switch winws)
3. <C-w> h, j, k, l      (move to another window)
4. :q                    (close windows)
5. :on[ly]               (close the others)
6. <C-w>_                (maximize window height)
7. <C-w>|                (maximize window width)
8. 5<C-w>_               (resize window height to 5 lines)
9. 10<C-w>|              (resize window width to 10 letters)
10. <C-w>=               (resize all windows equally)
---

Vim