neovim: restore ctrl-arrow window resize keymaps (#32) #33

Merged
rpickler merged 2 commits from issue-32-resize-windows into main 2026-10-19 08:18:45 +00:00
Member

Restores the ctrl-arrow window resizing keymaps from the old AstroNvim config (issue #32).

  • <C-Up> / <C-Down> — grow/shrink the window height by 5 lines
  • <C-Left> / <C-Right> — shrink/widen the window by 5 columns

Implemented as nixvim keymaps entries (5<C-w>+ / - / < / >) in users/modules/neovim/default.nix, so they show up in which-key with descriptions. Normal mode only; no other modes bound.

Caveat: no eval done here (no nix binary in the agent environment) — the edit is a pure append to the existing keymaps list and structurally checked, but the real proof is switch-to-generation on a laptop.

Restores the ctrl-arrow window resizing keymaps from the old AstroNvim config (issue #32). - `<C-Up>` / `<C-Down>` — grow/shrink the window height by 5 lines - `<C-Left>` / `<C-Right>` — shrink/widen the window by 5 columns Implemented as nixvim `keymaps` entries (`5<C-w>+` / `-` / `<` / `>`) in `users/modules/neovim/default.nix`, so they show up in which-key with descriptions. Normal mode only; no other modes bound. Caveat: no eval done here (no nix binary in the agent environment) — the edit is a pure append to the existing `keymaps` list and structurally checked, but the real proof is `switch-to-generation` on a laptop.
rpickler deleted branch issue-32-resize-windows 2026-10-19 08:18:53 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
richardpickler.com/nixos!33
No description provided.