From f5044837ab967924da973626e4fd154fb233abf5 Mon Sep 17 00:00:00 2001 From: Fabio Lenherr / DashieTM Date: Sat, 18 Nov 2023 14:22:04 +0100 Subject: [PATCH] chore: Update keymaps --- nvim/README.md | 112 ++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/nvim/README.md b/nvim/README.md index d9731b0..b8a0b4a 100644 --- a/nvim/README.md +++ b/nvim/README.md @@ -20,31 +20,31 @@ ## Debugging | key | Description | | ----------- | --------------------- | -| da | run with args | -| db | toggle breakpoint | -| dB | breakpoint condition | -| dC | run to cursoor | -| dc | continue | -| de | eval | -| dg | go to line | -| di | step into | -| k | down | -| l | up | -| ; | run last | -| dO | step over | -| do | step out | -| dp | pause | -| dr | toggle repl | -| ds | session | -| dt | terminate | -| du | DAP UI | -| dw | widgets | +| \da | run with args | +| \db | toggle breakpoint | +| \dB | breakpoint condition | +| \dC | run to cursoor | +| \dc | continue | +| \de | eval | +| \dg | go to line | +| \di | step into | +| \k | down | +| \l | up | +| \; | run last | +| \dO | step over | +| \do | step out | +| \dp | pause | +| \dr | toggle repl | +| \ds | session | +| \dt | terminate | +| \du | DAP UI | +| \dw | widgets | ## neotest | key | Description | | ----------- | ------------------------- | -| tt | execute all tests | -| tT | execute nearest test | +| \tt | execute all tests | +| \tT | execute nearest test | ## buffer switching | key | Description | @@ -60,21 +60,21 @@ ## telescope | key | Description | | ----------- | ------------------------- | -| ff | find files | -| fg | live ripgrep | -| fh | help for functions etc | -| fp | find projects | -| fb | file browser | +| \ff | find files | +| \fg | live ripgrep | +| \fh | help for functions etc | +| \fp | find projects | +| \fb | file browser | ### telescope git | key | Description | | ---------- | ------------------------- | -| gq | show commits | -| gw | show commits with diff | -| gb | show branches | -| gr | show git status | -| ga | show git stash | -| ge | git file tree | +| \gq | show commits | +| \gw | show commits with diff | +| \gb | show branches | +| \gr | show git status | +| \ga | show git stash | +| \ge | git file tree | ### project telescope @@ -94,14 +94,14 @@ | key | Description | | -------- | --------------------------------- | -| | delete project | -| | rename project | -| | create project | -| | search files in project | -| | browse files in project | -| | change directory to project | -| | recently opened files in project | -| | find file within project | +| \ | delete project | +| \ | rename project | +| \ | create project | +| \ | search files in project | +| \ | browse files in project | +| \ | change directory to project | +| \ | recently opened files in project | +| \ | find file within project |
normal mode insert mode
@@ -109,15 +109,15 @@ ## toggletrouble | key | Description | | ---------- | ------------------------- | -| t | show errors and warnings | +| \t | show errors and warnings | ## cmp Note, these require the cmp list view to be open to do anything! | key | Description | | ----------- | --------------------------------------------------------- | -| | scroll docs up | -| | scroll docs down | -| | cancel cmp | +| \ | scroll docs up | +| \ | scroll docs down | +| \ | cancel cmp | | Enter | write selected suggestion (does nothing if not selected) | | Tab |scroll down 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 | key | Description | | ------------ | ---------------------- | -| ca | go to definition | -| ca | go to declaration | -| cs | find references | -| cd | go to type definition | -| cf | go to implementation | -| cq | fix code action | -| cQ | refactor code action | -| cw | signature help | -| ce | hover | -| cr | rename | +| \ca | go to definition | +| \ca | go to declaration | +| \cs | find references | +| \cd | go to type definition | +| \cf | go to implementation | +| \cq | fix code action | +| \cQ | refactor code action | +| \cw | signature help | +| \ce | hover | +| \cr | rename | ## snippets These require you to be inside a snippet! | key | Description | | -------- | ------------------------- | -| | jump to next entry | -| | jump to previous entry | +| \ | jump to next entry | +| \ | jump to previous entry | ## Leap | key | Description |