DashNix/nvim
2023-11-18 14:19:36 +01:00
..
ftdetect feat: Add more whichkey descriptions 2023-05-13 13:07:30 +02:00
lua chore: Update keymaps 2023-11-18 14:19:36 +01:00
snippets feat: Add yazi config 2023-10-09 17:08:16 +02:00
.gitignore feat: change to lazyvim 2023-02-23 00:52:02 +01:00
.neoconf.json feat: change to lazyvim 2023-02-23 00:52:02 +01:00
init.lua feat: change to lazyvim 2023-02-23 00:52:02 +01:00
lazy-lock.json feat: Use folke edgy, that dude is insane 2023-11-18 01:03:39 +01:00
lazyvim.json feat: Add better terminal 2023-10-22 16:12:38 +02:00
LICENSE feat: change to lazyvim 2023-02-23 00:52:02 +01:00
README.md chore: Update keymaps 2023-11-18 14:19:36 +01:00
stylua.toml feat: change to lazyvim 2023-02-23 00:52:02 +01:00

List of keymaps

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
<A-f> open file tree (root
<A-F> open file tree (cwd)

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

neotest

key Description
tt execute all tests
tT execute nearest test

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
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

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
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

toggletrouble

key Description
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
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
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

Leap

key Description
s followed by 2 other characters and the marker to jump

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

Treesitter specials

used to interact with treesitter defined objects.

key Description
dif Delete the content of a function
daf Delete the entire function
dic Delete the content of a class/struct
dac Delete the entire class/struct