-
-
Notifications
You must be signed in to change notification settings - Fork 106
Shortcuts
Stephen edited this page Apr 15, 2020
·
4 revisions
KeyMap | Mode | Description |
---|---|---|
j | N | accelerated-jk |
k | N | accelerated-jk |
K | N | Show document |
Y | N | Yank to end |
TAB | N V | SelectionRange need language server support |
g + a | N V | vim-easy-align usage |
g + d | N | Jump to definition |
g + y | N | Jump type definition |
g + r | N | Show references |
] + b | N | Prev buffer |
[ + b | N | Next buffer |
] + e | N | Prev diagnostic |
[ + e | N | Next diagnostic |
] + g | N | Prev git chunkinfo |
[ + g | N | Next git chunkinfo |
Ctrl + f | N | Scroll on float window |
Ctrl + b | N | Scroll on float window |
Ctrl + s | N | Save buffer |
Ctrl + x | N | Close buffer |
Ctrl+x + Ctrl+f | N | Open file filter like emacs ivy (cousnel-find-file) |
KeyMap | Mode | Description |
---|---|---|
Ctrl + w | I | delete word |
Ctrl + h | I | backspace |
Ctrl + d | I | delete |
Ctrl + k | I | delete line |
Ctrl + u | I | delete to the line first |
Ctrl + b | I | left |
Ctrl + f | I | right |
Ctrl + a | I | move to the first char |
Ctrl + e | I | move to the end |
Ctrl + s | I | Save buffer |
Ctrl + q | I | Save buffer and quiet |
Ctrl + o | I | jump to new line |
KeyMap | Mode | Description |
---|---|---|
Ctrl + f | N | Scroll forwards |
Ctrl + b | N | Scroll downwards |
Ctrl + u | N | Scroll upwards |
Ctrl + d | N | Scroll downwards |
KeyMap | Mode | Description |
---|---|---|
gc | N V | caw.vim |
gcc | N V | caw.vim |
KeyMap | Mode | Description |
---|---|---|
sa | N V | vim-sandwich |
sd | N V | vim-sandwich |
sr | N V | vim-sandwich |
srb | N V | vim-sandwich |
KeyMap | Mode | Description |
---|---|---|
gs + j | N | Easymotion w |
gs + k | N | Easymotion b |
KeyMap | Mode | Description |
---|---|---|
- | N | Choosewin |
Leader + - | N | ChooseWinSwapStay |
Mulitple edit by coc.nvim
KeyMap | Mode | Description |
---|---|---|
Ctrl + c | N | Cursors position |
Ctrl + m | N | Select current word |
Ctrl + d | V | Cursors range |
KeyMap | Mode | Description |
---|---|---|
dsf | N | dsf.vim |
csf | N | dsf.vim |
KeyMap | Mode | Description |
---|---|---|
sj | N | splitjoin.vim |
sk | N | splitjoin.vim |
KeyMap | Mode | Description |
---|---|---|
v | v | vim-expand-region |
V | V | vim-expand-region |
Key | Mode | Action |
---|---|---|
j or k | π | Move up and down the tree |
l or Return | π | Toggle collapse/expand directory or open file |
h | π | Collapse directory tree |
t | π | Expand directory tree recursively |
. | π | Toggle hidden files |
Space | π | Select entry |
* | π | Invert selection (select all) |
& or </kbd> | π | Change into current working directory |
~ | π | Change to user home directory |
u or Backspace | π | Change into parent directory |
u 2/3/4 | π | Change into parent directory count |
st | π | Open file in new tab |
sv | π | Open file in a horizontal split |
sg | π | Open file in a vertical split |
N | π | Create new directories and/or files |
K | π | Create new directory |
c / m / p | π | Copy, move, and paste |
r | π | Rename file or directory |
dd | π | Trash selected files and directories |
y | π | Yank path to clipboard |
w | π | Toggle window size |
]g | π | Next dirty git item |
[g | π | Previous dirty git item |
x or gx | π | Execute associated system application |
gd | π | Open git diff on selected file |
gl | π | Open terminal file explorer with tmux |
KeyMap | Mode | Description |
---|---|---|
Leader + ; | N | Manage List extensions |
Leader + , | N | Coc commands |
Leader + TAB | N | Switch to last buffer |
Leader + ' | N | CocList resume |
KeyMap | Mode | Description |
---|---|---|
Leader + bc | N | Keep only current buffer |
Leader + bb | N | Show buffer list |
Leader + bx | N | Delete all buffers |
KeyMap | Mode | Description |
---|---|---|
Leader + ca | N V | Lsp code action |
Leader + cd | N | Lsp show document |
Leader + ce | N | Lsp show all diagnostics |
Leader + cf | N V | Lsp format |
Leader + cF | N | Lsp autofix problem current line |
Leader + ci | N | Lsp find implementation |
Leader + cn | N | Default action for next item |
Leader + cp | N | Default action for prev item |
Leader + cj | N V | Show definition and references |
Leader + cr | N | Lsp rename |
Leader + cs | N | Search workspace symbols |
Leader + cR | N | Quick Run |
Leader + cw | N | Remove space at the end of lines |
KeyMap | Mode | Description |
---|---|---|
Leader + e | N | Open defx file tree |
Leader + j | N | Open coc-explorer file tree |
KeyMap | Mode | Description |
---|---|---|
Leader + da | N | Toggle Breakpoint |
Leader + db | N | Toggle Trace point |
Leader + dc | N | Clear all points |
Leader + dd | N | Debug |
Leader + dt | N | Dlv Test |
Leader + dr | N | DlvRemoveBreakpoint |
Leader + dR | N | DlvToggleTracepoint |
KeyMap | Mode | Description |
---|---|---|
Leader + fa | N | Find input char |
Leader + ff | N | Find file |
Leader + fh | N | Find history file |
Leader + fl | N | Find locallist |
Leader + fg | N | Find file with git |
Leader + fw | N | Find current word |
Leader + fW | N | Find window |
Leader + fu | N | Find git diff files |
Leader + fv | N | Find visual select |
KeyMap | Mode | Description |
---|---|---|
Leader + i | N | Open outline |
KeyMap | Mode | Description |
---|---|---|
Leader + m | N | Mundo tree toggle |
KeyMap | Mode | Description |
---|---|---|
Leader + G | N | Goyo |
KeyMap | Mode | Description |
---|---|---|
Leader + ga | N | Git add |
Leader + gb | N | Git diff split |
Leader + gc | N | Git commit |
Leader + gd | N | Git blame |
Leader + gf | N | Git fetch |
Leader + gg | N | Git status |
Leader + gp | N | Git push |
Leader + gs | N | Git status |
Leader + gl | N | Gina log |
KeyMap | Mode | Description |
---|---|---|
Leader + oc | N | Open personal zshrc tmux conf |
Leader + os | N | Open startify dashboard |
Leader + om | N | Open markdown preview |
Leader + ot | N | Open terminal |
KeyMap | Mode | Description |
---|---|---|
Leader + pu | N | Update the all plugins |
Leader + pu | N | Clean up the runtime cache |
Leader + pu | N | Get the update log |
KeyMap | Mode | Description |
---|---|---|
Leader + qq | N | Save and quiet |
Leader + qw | N | Quiet without save |
KeyMap | Mode | Description |
---|---|---|
Leader + rr | N | Open Repl |
Leader + rq | N | Quick Repl |
Leader + rl | N V | Send line to repl |
Leader + rp | N | repeat command |
Leader + rc | N | Clear |
Leader + r+CR | N | |
Leader + r+ESC | N |
KeyMap | Mode | Description |
---|---|---|
Leader + ss | N | Save session |
Leader + sl | N | Load session |
KeyMap | Mode | Description |
---|---|---|
Leader + ti | N | Toggle IndentLine |
Leader + tc | N | Toggle colorscheme |
Leader + tn | N | Toggle number |
Leader + ts | N | Toggle spell check |
KeyMap | Mode | Description |
---|---|---|
Leader + s | N | horizontally split |
Leader + v | N | vertical split |
Leader + h | N | jump left window |
Leader + j | N | jump bottom window |
Leader + k | N | jump top window |
Leader + l | N | jump right window |
Leader + H | N | move window to left |
Leader + J | N | move window to bottom |
Leader + K | N | move window to top |
Leader + L | N | move window to right |
Leader + x | N | swap window |
Leader + c | N | close window |
Leader + o | N | close other window |
Leader + R | N | spin window |