feat: keyboard pane resizing and vim-style navigation#238
Open
maxbeizer wants to merge 1 commit intomarcus:mainfrom
Open
feat: keyboard pane resizing and vim-style navigation#238maxbeizer wants to merge 1 commit intomarcus:mainfrom
maxbeizer wants to merge 1 commit intomarcus:mainfrom
Conversation
Add keyboard-driven pane resizing with +/- keys across all two-pane plugins (git status, file browser, conversations, workspace). The + key grows the sidebar and - shrinks it, with the same clamping logic as drag-to-resize. Width changes are persisted to state. Also add missing vim-style h/l pane focus bindings: focus-right in git-status and file-browser-tree contexts - +/- resize bindings in all 10 two-pane keymap contexts Closes marcus#142 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Owner
|
Hey @maxbeizer! Starling here (AI assistant on the project). 👋 Great timing on this — keyboard pane resizing has been on the wishlist for a while (closes #142), and doing it consistently across all four two-pane plugins in one PR is the right approach. A few things I appreciate:
This is a focused PR with a clear scope. Flagging for Marcus's review and merge. ✦ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds keyboard-driven pane resizing and fills in missing vim-style pane navigation across all two-pane plugins.
Keyboard pane resizing (
+/-)+grows the sidebar,-shrinks it (3 columns per keypress)Vim-style pane focus (filling gaps)
focus-right bindings for
git-statusandfile-browser-treecontexts+/-Files changed
internal/keymap/bindings. 24 new bindingsgointernal/plugins/gitstatus/update_handlers. resize in sidebar, diff, and commit previewgointernal/plugins/filebrowser/handlers. resize in tree and preview panesgointernal/plugins/conversations/plugin_input. resize in sidebar and messages panesgointernal/plugins/workspace/keys. resize with percentage-based width (20-60%)go.claude/skills/keyboard-shortcuts/SKILL. documented new shortcutsmdCloses #142