Compare commits

..

2 Commits

Author SHA1 Message Date
Emma Thorpe c5e0cadcd2 docs(editor): document nvim-cmp completion menu keybindings
CI / flake (pull_request) Failing after 2m46s
Add a completion-menu table to KEYBINDINGS.md covering the new cmp
mappings (Tab/S-Tab and C-n/C-p to move, C-Space to open, Enter to
confirm, C-e to dismiss), and reword the Neovim summary accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 16:20:03 +01:00
Emma Thorpe 304b9a413a feat(editor): add nvim-cmp completion keymaps
CI / flake (pull_request) Successful in 4m13s
nvim-cmp ships no default mappings, so the completion menu (including the
path source) appeared but nothing could navigate or accept it. Bind the
usual set: C-n/C-p and Tab/S-Tab to move, C-Space to open, C-e to abort,
and <CR> to confirm with select=false so a bare Enter stays a newline
unless an entry is explicitly highlighted.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 16:17:05 +01:00
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ across vim splits and tmux panes seamlessly. Everything else is stock vim, plus:
Active only while the completion popup is open (it appears as you type, e.g.
file paths):
| Shortcut | Action |
| Shortcut | Action |
| ----------------------- | ------------------------------------------------------------------ |
| `Tab` / `Shift`+`Tab` | Select next / previous item |
| `Ctrl`+`n` / `Ctrl`+`p` | Select next / previous item |
-1
View File
@@ -97,7 +97,6 @@
"llvm@21"
"lld@21"
"python@3.14"
"dosbox-staging"
];
# GUI applications. macOS app bundles are managed as casks; nixpkgs darwin
# GUI support is unreliable, so these stay on brew for continuity.
+2
View File
@@ -19,7 +19,9 @@
defaultUser = "emmathorpe";
wslConf.automount.root = "/mnt";
wslConf.interop.appendWindowsPath = true;
wslConf.interop.register = true;
wslConf.interop.enabled = true;
wslConf.interop.includePath = true;
wslConf.network.generateHosts = false;
startMenuLaunchers = true;
docker-desktop.enable = false;