Repository navigation
Mappings
Nguyễn Hoàng Nam edited this page Sep 18, 2022
·
5 revisions
These mappings use for plugins.
| Key | Description |
|---|---|
| <Leader>0 | Add break point |
| <Leader>1 | Toggle debug |
| <Leader>2 | Step over |
| <Leader>3 | Step into |
| <Leader>4 | Step out |
| <Leader>9 | Scope information |
| Key | Description |
|---|---|
| <Leader>a | Code action |
| <Leader>c | Range format |
| <Leader>d | Go to definition |
| <Leader>m | Format code |
| <Leader>r | Rename |
| Key | Description |
|---|---|
| <Leader>e | Search Gitmojis |
| <Leader>f | Search text in file |
| <Leader>o | Search buffers |
| <Leader>p | Search file |
| <Leader>u | Search text in project |
| Key | Description |
|---|---|
| <Leader>b | Toggle biscuit |
| Key | Description |
|---|---|
| <Leader>s | Save file |
| <Leader>w | Delete current buffer |
| <Leader>/ | Toggle comment |
These mappings use to toggle a new window or a new buffer.
| Key | Description |
|---|---|
| <M-b> | Toggle Explorer |
| <M-d> | Toggle Debug sidebar |
| <M-t> | Toggle Terminal |
| <M-r> | Toggle Rest Tab |
| <M-s> | Toggle SQL Tab |
| <M-x> | Toggle Symbol sidebar |
These mappings use to go to next.
| Key | Description |
|---|---|
| ]d | Go to next diagnostic |
| ]b | Go to next Buffer |
| ]g | Go to next Git conflict |
| ]q | Go to next Tab |
| ]t | Go to next failed test |
| ]x | Go to next function |
| ]] | Go to next jump list |
These mapping use to go to previous.
| Key | Description |
|---|---|
| [d | Go to previous diagnostic |
| [b | Go to previous Buffer |
| [g | Go to previous Git conflict |
| [q | Go to previous Tab |
| [t | Go to previous failed test |
| [x | Go to previous function |
| [[ | Go to previous jump list |
| Key | Description |
|---|---|
| <Leader>g | Toggle git hover |
| <Leader>n | Show floating Cmdline |
| <Leader>t | Toggle test |
| <Leader>z | Preview definition |
| jk | Insert to normal |
| gh | Go to left window |
| gj | Go to above window |
| gk | Go to below window |
| gl | Go to right window |
| cj | Go to above change |
| ck | Go to below change |
| cb | Go to both change |
| c0 | Go to none change |
| <M-j> | Select next telescope |
| <M-k> | Select previous telescope |
| <M-q> | Close telescope |