Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Logo of dashvim

Installation

Can either be done as a NixOS or home-manager module.

programs.dashvim = {
    enable = true;
    colorscheme = config.conf.colorscheme;
    # other options
};

Try before Installation

nix run inside the directory, or nix run github:Xetibo/DashVim.

Note: If you wish to try DashVim out, you might want test the minimal configuration first. -> nix run github:Xetibo/DashVim#minimal.

Keys

Could potentially be outdated.

Space as leader

Motion

keyDescpription
jleft
kdown
lup
;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

keyDescription
<leader>dbtoggle breakpoint
<leader>dccontinue
<leader>deeval
<leader>distep into
<leader>dostep over
<leader>duDAP UI

neotest

keyDescription
<leader>tfexecute files tests
<leader>tnexecute nearest test
<leader>tNdebug nearest test
<leader>tsstop neotest

buffer switching

keyDescription
F1next buffer (cycles)
F2previous buffer (cycles)

formatting

keyDescription
F4format this file

telescope

keyDescription
<leader>fffind files
<leader>fglive ripgrep
<leader>fhhelp for functions etc
<leader>fpfind projects
<leader>fbfile browser
<leader>bbuffer browser
<leader>ldfind LSP type definition
<leader>lwfind LSP symbol

git

keyDescription
<leader>gqshow commits
<leader>gwshow commits in branch
<leader>gbshow branches
<leader>gbgit blame
<leader>gsshow git status
<leader>gdNeogit diff
<leader>gnneogit
<leader>ghGithub cli

project telescope

normal mode insert mode
keyDescription
ddelete project
rrename project
ccreate project
ssearch files in project
bbrowse files in project
wchange directory to project
Rrecently opened files in project
ffind file within project
keyDescription
<C-d>delete project
<C-v>rename project
<C-a>create project
<C-s>search files in project
<C-b>browse files in project
<C-l>change directory to project
<C-r>recently opened files in project
<C-f>find file within project

cmp

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

keyDescription
<C-b>scroll docs up
<C-f>scroll docs down
<C-e>cancel cmp
Enterwrite selected suggestion (does nothing if not selected)
Tabscroll down through suggestion list
Shift + Tabscroll up through suggestion list

LSP

keyDescription
<leader>cago to definition
<leader>cAgo to declaration
<leader>csfind references
<leader>cdgo to type definition
<leader>cfgo to implementation
<leader>cqfix code action
<leader>cQrefactor code action
<leader>cwworkspace symbol
<leader>cehover
<leader>crrename
<leader>ctshow errors and warnings
<leader>cpgo to previous diagnostic
<leader>cngo to next diagnostic
<leader>ccrrestart LSP
<leader>cldline diagnostic toggle

Flash

keyDescription
sfollowed by 2 other characters and the marker to jump

Dashboard

only available on dashboard

keyDescription
ffile
enew file
pfind project
rrecently used files
tfind text
copen yazi
qquit

Treesitter specials

used to interact with treesitter defined objects.

keyDescription
difDelete the content of a function
dafDelete the entire function
dicDelete the content of a class/struct
dacDelete the entire class/struct