domus-nvim: Key Bindings & Development
Key Bindings
Leader: <Space>
Navigation
| Binding | Action |
|---|---|
|
Find files (Telescope) |
|
Live grep |
|
File browser (Oil) |
|
Harpoon menu |
|
Buffers |
LSP
| Binding | Action |
|---|---|
|
Go to definition |
|
Go to declaration |
|
Glance peek definitions |
|
References |
|
Hover documentation |
|
Code action |
|
Rename symbol |
|
Toggle inlay hints |
Git
| Binding | Action |
|---|---|
|
Git status |
|
LazyGit |
|
Diffview |
|
File history |
|
Stage hunk |
|
Preview hunk |
|
Next/prev hunk |
AsciiDoc (buffer-local, ft=asciidoc)
| Binding | Action |
|---|---|
|
Next/prev section |
|
Next/prev code block |
|
Next/prev include |
|
Next/prev xref |
|
Next/prev diagram block |
|
Document outline |
|
Word count (excl. syntax) |
|
Find broken xrefs |
|
Check undefined attributes |
|
Preview attributes |
|
List diagram blocks |
|
Toggle checklist item |
|
Bold word/selection |
|
Italic word/selection |
|
Monospace word/selection |
Development
# Launch with dedicated config
NVIM_APPNAME=nvim-domus nvim
# Or use alias (defined in .zshrc)
v
# Build documentation
cd ~/atelier/_projects/personal/domus-nvim
make docs # Build Antora site
make docs-open # Build and open in browser
make docs-serve # Serve on localhost:8000
Custom Features
| Feature | Description |
|---|---|
MOTD |
Message of the day popup on startup |
AsciiDoc Suite |
Outline, word count, broken xref finder, attribute checker/preview, diagram listing |
Colorscheme
Catppuccin Mocha with custom refinements:
-
Muted yellow visual selection highlight (
#454025) -
Custom overrides in
plugins/config/colorscheme.lua
Goals
-
Hierarchical plugin architecture (specs vs configs)
-
Native ftplugin for filetype settings
-
Embedded Antora documentation
-
Catppuccin Mocha theme with customizations
-
Termux compatibility (native LSP fallback)
-
WSL compatibility
-
blink.cmp completion engine (replaced nvim-cmp)
-
selene Lua linter (replaced luacheck — Mason/Lua 5.5 incompatibility)
-
AsciiDoc module upgrade (25 diagram snippets, 5 commands, navigation)
-
Consolidated Termux detection into
core/util.lua -
Dead code audit (removed unused util functions, empty ui module)
-
Expanded which-key registrations (60+ key descriptions)
-
Fixed LuaSnip parse errors in AsciiDoc snippet definitions (LuaJIT
="]/ stray}edge cases) -
Complete DAP configurations
-
Document all keymaps in Antora docs