DashNix/nvim
2023-01-05 23:46:41 +01:00
..
lua/settings fix: dap 2023-01-05 23:46:41 +01:00
snippets chore: proper keymap documentation and more cleanup 2023-01-01 23:48:42 +01:00
.luarc.json feat: desktop config as base 2022-12-31 14:50:10 +01:00
init.lua fix: dap 2023-01-05 23:46:41 +01:00
installer.sh feat: desktop config as base 2022-12-31 14:50:10 +01:00
README.md feat: add documentation about lsp 2023-01-03 01:54:25 +01:00

List of keymaps

Space as leader

Debugging

key Description
F5 toggle breakpoint
F6 step over breakpoint
F7 step into breakpoint
F8 start debugging
F9 continue from breakpoint
F10 close debug UI

Nerd Tree

key Description
t toggle open
f focus tree

buffer switching

key Description
F1 next buffer (cycles)
F2 previous buffer (cycles)

formatting

key Description
F4 format this file

telescope

key Description
ff find files
fg live ripgrep
fb find buffers
fh help for functions etc
fp find projects

project telescope

normal mode insert mode
key Description
d delete project
r rename project
c create project
s search files in project
b browse files in project
w change directory to project
R recently opened files in project
f find file within project
key Description
Ctrl + d delete project
Ctrl + v rename project
Ctrl + a create project
Ctrl + s search files in project
Ctrl + b browse files in project
Ctrl + l change directory to project
Ctrl + r recently opened files in project
Ctrl + f find file within project

toggletrouble

key Description
Ctrl + f show errors and warnings

cmp

Note, these require the cmp list view to be open to do anything!

key Description
Ctrl + b scroll docs up
Ctrl + f scroll docs down
Ctrl + e cancel cmp
Enter write selected suggestion (does nothing if not selected)
Tab scroll down through suggestion list
Shift + Tab scroll up through suggestion list

LSP

key Description
Leader + h go to declaration
Leader + j go to definition
Leader + k go to implementation
Leader + l go to references
Leader + ; execute code actions
Leader + u signature help
Leader + g hover

snippets

These require you to be inside a snippet!

key Description
Ctrl + j jump to next entry
Ctrl + k jump to previous entry

Dashboard

only available on dashboard

key Description
f file
e new file
p find project
r recently used files
t find text
c open config
q quit