chore: Update Keymaps
This commit is contained in:
parent
d31d257244
commit
30ceb6b91a
1 changed files with 52 additions and 39 deletions
|
|
@ -2,31 +2,44 @@
|
||||||
|
|
||||||
## Space as leader
|
## Space as leader
|
||||||
|
|
||||||
|
## Motion
|
||||||
|
| key | Descpription |
|
||||||
|
| ------- | ------------------------- |
|
||||||
|
| j | left |
|
||||||
|
| k | down |
|
||||||
|
| l | up |
|
||||||
|
| ; | right |
|
||||||
|
| \<A-j\> | window left |
|
||||||
|
| \<A-k\> | window up |
|
||||||
|
| \<A-l\> | window down |
|
||||||
|
| \<A-;\> | window right |
|
||||||
|
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| --- | ------------------------- |
|
| ----------- | ------------------------- |
|
||||||
| F5 | toggle breakpoint |
|
| <leader>dt | toggle breakpoint |
|
||||||
| F6 | step over breakpoint |
|
| <leader>do | step over breakpoint |
|
||||||
| F7 | step into breakpoint |
|
| <leader>di | step into breakpoint |
|
||||||
| F8 | start debugging |
|
| <leader>dc | continue from breakpoint |
|
||||||
| F9 | continue from breakpoint |
|
| <leader>dt | start debugging |
|
||||||
| F10 | close debug UI |
|
| <leader>dq | close debug UI |
|
||||||
|
|
||||||
## Nvim-Tree
|
## Nvim-Tree
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| --- | ------------------------- |
|
| --- | -------------------------- |
|
||||||
| f |toggle open |
|
| f | toggle open |
|
||||||
| a |create new file |
|
| a | create new file |
|
||||||
| d |remove file |
|
| d | remove file |
|
||||||
| r |rename file |
|
| r | rename file |
|
||||||
| y |copy name |
|
| y | copy name |
|
||||||
| Y |copy path |
|
| Y | copy path |
|
||||||
| x |cut file |
|
| x | cut file |
|
||||||
| c |copy file |
|
| c | copy file |
|
||||||
| p |paste file |
|
| p | paste file |
|
||||||
| f |filter (inside nvim tree) |
|
| f | filter (inside nvim tree) |
|
||||||
| E |expand all folders |
|
| E | expand all folders |
|
||||||
| W |collapse all folders |
|
| W | collapse all folders |
|
||||||
|
|
||||||
## buffer switching
|
## buffer switching
|
||||||
| key | Description |
|
| key | Description |
|
||||||
|
|
@ -40,13 +53,13 @@
|
||||||
| F4 | format this file |
|
| F4 | format this file |
|
||||||
|
|
||||||
## telescope
|
## telescope
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| --- | ------------------------- |
|
| ----------- | ------------------------- |
|
||||||
| ff | find files |
|
| <leader>ff | find files |
|
||||||
| fg | live ripgrep |
|
| <leader>fg | live ripgrep |
|
||||||
| fh | help for functions etc |
|
| <leader>fh | help for functions etc |
|
||||||
| fp | find projects |
|
| <leader>fp | find projects |
|
||||||
| fb | file browser |
|
| <leader>fb | file browser |
|
||||||
|
|
||||||
### telescope git
|
### telescope git
|
||||||
| key | Description |
|
| key | Description |
|
||||||
|
|
@ -104,16 +117,16 @@ Note, these require the cmp list view to be open to do anything!
|
||||||
| Shift + Tab | scroll up through suggestion list |
|
| Shift + Tab | scroll up through suggestion list |
|
||||||
|
|
||||||
## LSP
|
## LSP
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ----------- | ---------------------- |
|
| ------------ | ---------------------- |
|
||||||
| Leader + a | go to declaration |
|
| Leader + ca | go to declaration |
|
||||||
| Leader + s | go to definition |
|
| Leader + cs | go to definition |
|
||||||
| Leader + d | go to type definitions |
|
| Leader + cd | go to type definitions |
|
||||||
| Leader + f | go to references |
|
| Leader + cf | go to references |
|
||||||
| Leader + q | execute code actions |
|
| Leader + cq | execute code actions |
|
||||||
| Leader + w | signature help |
|
| Leader + cw | signature help |
|
||||||
| Leader + e | hover |
|
| Leader + ce | hover |
|
||||||
| Leader + r | rename |
|
| Leader + cr | rename |
|
||||||
|
|
||||||
## snippets
|
## snippets
|
||||||
These require you to be inside a snippet!
|
These require you to be inside a snippet!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue