chore: Update keymaps
This commit is contained in:
parent
1e6f107d00
commit
f5044837ab
1 changed files with 56 additions and 56 deletions
112
nvim/README.md
112
nvim/README.md
|
|
@ -20,31 +20,31 @@
|
||||||
## Debugging
|
## Debugging
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ----------- | --------------------- |
|
| ----------- | --------------------- |
|
||||||
| <leader>da | run with args |
|
| \<leader\>da | run with args |
|
||||||
| <leader>db | toggle breakpoint |
|
| \<leader\>db | toggle breakpoint |
|
||||||
| <leader>dB | breakpoint condition |
|
| \<leader\>dB | breakpoint condition |
|
||||||
| <leader>dC | run to cursoor |
|
| \<leader\>dC | run to cursoor |
|
||||||
| <leader>dc | continue |
|
| \<leader\>dc | continue |
|
||||||
| <leader>de | eval |
|
| \<leader\>de | eval |
|
||||||
| <leader>dg | go to line |
|
| \<leader\>dg | go to line |
|
||||||
| <leader>di | step into |
|
| \<leader\>di | step into |
|
||||||
| <leader>k | down |
|
| \<leader\>k | down |
|
||||||
| <leader>l | up |
|
| \<leader\>l | up |
|
||||||
| <leader>; | run last |
|
| \<leader\>; | run last |
|
||||||
| <leader>dO | step over |
|
| \<leader\>dO | step over |
|
||||||
| <leader>do | step out |
|
| \<leader\>do | step out |
|
||||||
| <leader>dp | pause |
|
| \<leader\>dp | pause |
|
||||||
| <leader>dr | toggle repl |
|
| \<leader\>dr | toggle repl |
|
||||||
| <leader>ds | session |
|
| \<leader\>ds | session |
|
||||||
| <leader>dt | terminate |
|
| \<leader\>dt | terminate |
|
||||||
| <leader>du | DAP UI |
|
| \<leader\>du | DAP UI |
|
||||||
| <leader>dw | widgets |
|
| \<leader\>dw | widgets |
|
||||||
|
|
||||||
## neotest
|
## neotest
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ----------- | ------------------------- |
|
| ----------- | ------------------------- |
|
||||||
| <leader>tt | execute all tests |
|
| \<leader\>tt | execute all tests |
|
||||||
| <leader>tT | execute nearest test |
|
| \<leader\>tT | execute nearest test |
|
||||||
|
|
||||||
## buffer switching
|
## buffer switching
|
||||||
| key | Description |
|
| key | Description |
|
||||||
|
|
@ -60,21 +60,21 @@
|
||||||
## telescope
|
## telescope
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ----------- | ------------------------- |
|
| ----------- | ------------------------- |
|
||||||
| <leader>ff | find files |
|
| \<leader\>ff | find files |
|
||||||
| <leader>fg | live ripgrep |
|
| \<leader\>fg | live ripgrep |
|
||||||
| <leader>fh | help for functions etc |
|
| \<leader\>fh | help for functions etc |
|
||||||
| <leader>fp | find projects |
|
| \<leader\>fp | find projects |
|
||||||
| <leader>fb | file browser |
|
| \<leader\>fb | file browser |
|
||||||
|
|
||||||
### telescope git
|
### telescope git
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ---------- | ------------------------- |
|
| ---------- | ------------------------- |
|
||||||
| <leader>gq | show commits |
|
| \<leader\>gq | show commits |
|
||||||
| <leader>gw | show commits with diff |
|
| \<leader\>gw | show commits with diff |
|
||||||
| <leader>gb | show branches |
|
| \<leader\>gb | show branches |
|
||||||
| <leader>gr | show git status |
|
| \<leader\>gr | show git status |
|
||||||
| <leader>ga | show git stash |
|
| \<leader\>ga | show git stash |
|
||||||
| <leader>ge | git file tree |
|
| \<leader\>ge | git file tree |
|
||||||
|
|
||||||
### project telescope
|
### project telescope
|
||||||
<table> <tr> <th> normal mode </th> <th> insert mode </th></tr>
|
<table> <tr> <th> normal mode </th> <th> insert mode </th></tr>
|
||||||
|
|
@ -94,14 +94,14 @@
|
||||||
|
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| -------- | --------------------------------- |
|
| -------- | --------------------------------- |
|
||||||
| <C-d> | delete project |
|
| \<C-d\> | delete project |
|
||||||
| <C-v> | rename project |
|
| \<C-v\> | rename project |
|
||||||
| <C-a> | create project |
|
| \<C-a\> | create project |
|
||||||
| <C-s> | search files in project |
|
| \<C-s\> | search files in project |
|
||||||
| <C-b> | browse files in project |
|
| \<C-b\> | browse files in project |
|
||||||
| <C-l> | change directory to project |
|
| \<C-l\> | change directory to project |
|
||||||
| <C-r> | recently opened files in project |
|
| \<C-r\> | recently opened files in project |
|
||||||
| <C-f> | find file within project |
|
| \<C-f\> | find file within project |
|
||||||
|
|
||||||
</td> </tr> </table>
|
</td> </tr> </table>
|
||||||
|
|
||||||
|
|
@ -109,15 +109,15 @@
|
||||||
## toggletrouble
|
## toggletrouble
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ---------- | ------------------------- |
|
| ---------- | ------------------------- |
|
||||||
| <leader>t | show errors and warnings |
|
| \<leader\>t | show errors and warnings |
|
||||||
|
|
||||||
## cmp
|
## cmp
|
||||||
Note, these require the cmp list view to be open to do anything!
|
Note, these require the cmp list view to be open to do anything!
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ----------- | --------------------------------------------------------- |
|
| ----------- | --------------------------------------------------------- |
|
||||||
| <C-b> | scroll docs up |
|
| \<C-b\> | scroll docs up |
|
||||||
| <C-f> | scroll docs down |
|
| \<C-f\> | scroll docs down |
|
||||||
| <C-e> | cancel cmp |
|
| \<C-e\> | cancel cmp |
|
||||||
| Enter | write selected suggestion (does nothing if not selected) |
|
| Enter | write selected suggestion (does nothing if not selected) |
|
||||||
| Tab |scroll down through suggestion list |
|
| Tab |scroll down through suggestion list |
|
||||||
| Shift + Tab | scroll up through suggestion list |
|
| Shift + Tab | scroll up through suggestion list |
|
||||||
|
|
@ -125,23 +125,23 @@ Note, these require the cmp list view to be open to do anything!
|
||||||
## LSP
|
## LSP
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| ------------ | ---------------------- |
|
| ------------ | ---------------------- |
|
||||||
| <leader>ca | go to definition |
|
| \<leader\>ca | go to definition |
|
||||||
| <leader>ca | go to declaration |
|
| \<leader\>ca | go to declaration |
|
||||||
| <leader>cs | find references |
|
| \<leader\>cs | find references |
|
||||||
| <leader>cd | go to type definition |
|
| \<leader\>cd | go to type definition |
|
||||||
| <leader>cf | go to implementation |
|
| \<leader\>cf | go to implementation |
|
||||||
| <leader>cq | fix code action |
|
| \<leader\>cq | fix code action |
|
||||||
| <leader>cQ | refactor code action |
|
| \<leader\>cQ | refactor code action |
|
||||||
| <leader>cw | signature help |
|
| \<leader\>cw | signature help |
|
||||||
| <leader>ce | hover |
|
| \<leader\>ce | hover |
|
||||||
| <leader>cr | rename |
|
| \<leader\>cr | rename |
|
||||||
|
|
||||||
## snippets
|
## snippets
|
||||||
These require you to be inside a snippet!
|
These require you to be inside a snippet!
|
||||||
| key | Description |
|
| key | Description |
|
||||||
| -------- | ------------------------- |
|
| -------- | ------------------------- |
|
||||||
| <C-j> | jump to next entry |
|
| \<C-j\> | jump to next entry |
|
||||||
| <C-k> | jump to previous entry |
|
| \<C-k\> | jump to previous entry |
|
||||||
|
|
||||||
## Leap
|
## Leap
|
||||||
| key | Description |
|
| key | Description |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue