Keybinding | Description |
---|---|
ESC | Normal mode. |
A | Appending mode. |
I | Insert mode. |
V | Simple visual mode. |
SHIFT + V | Multi-line visual mode. |
Keybinding / Command | Description |
---|---|
CTRL + W, H | Move to the window to the left. |
CTRL + W, J | Move to the window below. |
CTRL + W, K | Move to the window above. |
CTRL + W, L | Move to the window to the right. |
Keybinding / Command | Description |
---|---|
G, T | Move to the next tab. |
G, SHIFT + T | Move to the previous tab. |
:tabs | List all tabs. |
:tabedit FILE |
Open FILE in a new tab. |
:tabfind FILE |
Find the tab which holds FILE . |
:tabclose | Close the current tab. |
Command | Description |
---|---|
:res [+|-] HEIGHT |
Changes the split height to the given HEIGHT . If + or - is given increase / reduce it by height |
:vertical SPLIT_COMMAND |
Prefix a SPLIT_COMMAND and so it applies to a vertical split. |
CTRL + W, T, CTRL + W, SHIFT + K | Turn a vertical split into a horizontal split |
CTRL + W, T, CTRL + W, SHIFT + H | Turn a horizontal split into a vertical split |
Keybinding | Description |
---|---|
H | Move the cursor to the left. |
J | Move the cursor down. |
K | Move the cursor up. |
L | Move the cursor to the right. |
$ | Move the cursor to the end of the line. |
0 | Move the cursor to the beginning of the line. |
Command / Keybinding | Description |
---|---|
:m TARGETLINE |
Moves the current line below the TARGETLINE . |
X | Delete character under the cursor. |
Keybinding | Description |
---|---|
O | open in prev window |
G, O | preview |
T | open in new tab |
SHIFT + T | open in new tab silently |
I | open split |
G, I | preview split |
S | open vsplit |
G, S | preview vsplit |
R | To refresh the current directory listing |
SHIFT + R | To refresh the directoy listing of the root directory |
M | Open the NerdTree filesystem menu |