title
Quick Reference
weight
4
bookToc
true
Development Quick Reference
Quick Access to Keybindings
Don't remember a keybinding? Multiple ways to get help:
Key
Action
<Space> (wait)
Show all keybindings automatically (which-key popup)
<Space>?
Show all keybindings (which-key popup)
<Space><Space>
Show all keybindings (which-key popup)
<Space>ck
Toggle keymaps sidebar (persistent right panel)
<Space>cs
Open cheatsheet (searchable via Telescope)
Tip: The keymaps sidebar (<Space>ck) provides a persistent view of all your shortcuts on the right side of the screen. Press q to close it.
Key
Action
<Space>ne
Toggle file explorer
<Space>nf
Toggle file explorer on current file
<Space>nc
Collapse file explorer
<Space>nr
Refresh file explorer
<Space>ff or <Space>fp
Find files
<Space>fr
Recent files
<Space>fs
Search in files (live grep)
<Space>fw
Find string under cursor
Key
Action
<Space>ct
Change colorscheme/theme (live preview)
Key
Action
gd
Go to definition
gD
Go to declaration
gi
Go to implementation
gt
Go to type definition
gr or gR
Find references
K
Show documentation
Key
Action
<Space>ca
Code actions (generate, imports, etc)
<Space>rn
Rename symbol
<Space>nh
Clear search highlights
<C-Space>
Trigger completion
<C-j>
Next completion item
<C-k>
Previous completion item
<CR>
Accept completion
<C-c>
Copy to clipboard (visual mode)
Diagnostics (Errors/Warnings)
Key
Action
<Space>D
Show all diagnostics in file
<Space>d
Show diagnostic on current line
]d
Next diagnostic
[d
Previous diagnostic
<Space>rs
Restart LSP
Command
Action
:!mvn test
Run all tests (Maven)
:!mvn test -Dtest=ClassName
Run specific test class
:!gradle test
Run all tests (Gradle)
Key
Action
<Space>cR
Rust code actions
<Space>dr
Rust debuggables
When editing Cargo.toml files:
Hover over dependencies for version info and documentation
Code completion for crate names
Inline diagnostics for outdated versions
Key
Action
<Space>db
Toggle breakpoint
<Space>dc
Continue/Start
<Space>dn
Step over
<Space>di
Step into
<Space>do
Step out
Key
Action
<Space>sv
Split window vertically
<Space>sh
Split window horizontally
<Space>se
Make splits equal size
<Space>sx
Close current split
<Space>h
Move cursor to left window
<Space>j
Move cursor to bottom window
<Space>k
Move cursor to top window
<Space>l
Move cursor to right window
Key
Action
<Space>to
Open new tab
<Space>tx
Close current tab
<Space>tn
Go to next tab
<Space>tp
Go to previous tab
<Space>tf
Open current buffer in new tab
Key
Action
<Tab>
Next buffer
<S-Tab>
Previous buffer
:bd
Close buffer
Key
Action
<C-7>
Toggle terminal
<C-\><C-n>
Exit terminal mode
i
Enter terminal mode
<Space>gg
Open Lazygit (git TUI)
AI (CodeCompanion with Ollama)
Key
Action
<Space>ac
Open AI chat
<Space>ae
Edit selection with AI (visual)
<Space>ax
Explain code (visual)
<Space>aa
Show AI actions menu
<Space>at
Toggle AI chat window
Esc - Normal mode
i - Insert mode (before cursor)
a - Insert mode (after cursor)
v - Visual mode
: - Command mode
h/j/k/l - Left/Down/Up/Right
w - Next word
b - Previous word
gg - Top of file
G - Bottom of file
0 - Start of line
$ - End of line
dd - Delete line
yy - Copy line
p - Paste
u - Undo
<C-r> - Redo
o - New line below
O - New line above
:w - Save
:q - Quit
:wq - Save and quit
:q! - Quit without saving
<Space>ne - Open file explorer
Navigate to package directory
a - Create new file
Type ClassName.java
]d - Jump to error
<Space>d - See error details
<Space>ca - View quick fixes
Select and apply fix
<Space>ne - Open file explorer
Navigate to src directory
a - Create new file
Type module_name.rs
Add Dependencies (Cargo.toml)
Open Cargo.toml
Start typing crate name under [dependencies]
Use completion to select crate
Auto-complete will suggest latest version
<Space>dr - Open debuggables menu
Select test, binary, or example to debug
Debugger will start automatically
Place cursor on symbol
<Space>rn - Rename
Type new name
Enter to confirm
gd - Go to definition
K - Read documentation
gr - See where it's used
<Space>ch - Call hierarchy
File Explorer (nvim-tree)
Enter - Open file/folder
a - Create new file/folder
d - Delete
r - Rename
R - Refresh
q - Close
? - Help
Leader key is <Space> - Press it and wait to see all available commands!
Multiple ways to see keybindings:
<Space>ck - Persistent sidebar on the right (close with q)
<Space>? - Which-key popup
<Space>cs - Searchable cheatsheet
Use :Mason to manage LSP servers
Use :Lazy to manage plugins
Use :checkhealth to diagnose issues
Use :help <topic> for help
Lazygit (<Space>gg) provides a visual interface for all git operations
For detailed guide, see [Getting Started]({{< relref "/getting-started" >}})