NeoVim — Key Mappings - shirohana/.config GitHub Wiki
| Alias | To |
|---|---|
| <Leader> | Space |
| <LocalLeader> | ; |
| ⌥ | Opt (But we'll still use Opt because ⌥ is unreadable) |
| ⇧ | Shift (But we'll still use Shift because ⇧ is unreadable) |
| ⌃ | Ctrl |
| N | I | V | Keystroke | Action |
|---|---|---|---|---|
| v | v | v | ⌃l | <Esc> |
| v | EscEsc | Cancal highlighe search |
| N | Keystroke | Action |
|---|---|---|
| v | zh | Move screen left |
| v | zl | Move screen right |
| v | \ | Jump to older cursor position |
| v | | | Jump to newer cursor position |
| N | I | C | Keystroke | Action |
|---|---|---|---|---|
| v | OO | Insert one line above current editing line | ||
| v | v | ⌃a | Move cursor to start of line | |
| v | v | ⌃e | Move cursor to end of line | |
| v | yp | Yank current paragraph and paste below |
| N | Keystroke | Action |
|---|---|---|
| v | Opt-t | Create new buffer |
| v | <Leader>w | Save current buffer |
| v | <Leader>W | Save current buffer and Close |
| v | <Leader>q | Close current buffer (wiped when no other tab contains this buffer) |
| v | Opt-[ | Switch to previous buffer |
| v | Opt-] | Switch to next buffer |
| N | Keystroke | Action |
|---|---|---|
| v | <Leader>h | Create vertical split ⬅️ |
| v | <Leader>l | Create vertical split ➡️ |
| v | <Leader>j | Create horizontal split ⬇️ |
| v | <Leader>k | Create horizontal split ⬆️ |
| v | <Leader>c | Close current window |
| v | Opt-h | Move cursor ⬅️ |
| v | Opt-l | Move cursor ➡️ |
| v | Opt-j | Move cursor ⬇️ |
| v | Opt-k | Move cursor ⬆️ |
| v | <Tab> | Move cursor to next window |
| v | <Shift-Tab> | Move cursor to previous window |
| v | <Up> | Shrink window |
| v | <Down> | Expand window |
| v | <Left> | Shrink window |
| v | <Right> | Exapnd window |
| N | Keystroke | Action |
|---|---|---|
| v | Opt-Shift-t | Create new tab |
| v | Opt-Shift-q | Close current tab |
| v | Opt-Shift-[ | Switch to previous tab |
| v | Opt-Shift-] | Switch to next tab |
| v | Opt-1 | Switch to 1st tab |
| v | Opt-2 | Switch to 2nd tab |
| ... | ||
| v | Opt-9 | Switch to 9th tab |
| T | Keystroke | Action |
|---|---|---|
| v | ⌃l | Enter -- NORMAL -- from -- TERMINAL --
|