Command | |
---|---|
MultilineVisual Mode: | CRTL + V |
Command | |
---|---|
Horizontal splitting | Ctrl+W, S |
Vertical splitting | Ctrl+W, v |
Close one | Ctrl+W, Q |
Switch between windows | Ctrl+W, Ctrl+W |
Switch to adjacent window | Ctrl+W, J (or K, H, L) |
- Press CRTL + V
- Select lines (up and down keys)
- Press SHIFT + I
- Write sth
- Press ESC
- Press CRTL + V
- Select lines (up, down, left and right keys)
- Press DELETE
:w !sudo tee %