feat: make tab switch and line-start rebindable - #57
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe change adds configurable commands for next tab, previous tab, and line-start navigation. Keyboard fallbacks now respect custom bindings. The conflicting editor shortcut was removed, and tests cover persistence and line-start behavior. ChangesConfigurable keyboard navigation
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant useAppKeyboard
participant lineOp
participant EditorStatus
User->>useAppKeyboard: Press custom editor.lineStart binding
useAppKeyboard->>lineOp: Dispatch lineHome
lineOp->>EditorStatus: Update cursor position
EditorStatus-->>User: Show Ln 1, Col 1
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Advertise tabs.next/prev and editor.lineStart in KEYBINDABLE, route the default chords through the global keymap so custom bindings win, and move Ctrl+Opt+B off the editor-local keymap. Co-authored-by: Nicholas Adamou <nicholasadamou@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/keybindable-tabs-linestart-15fc
branch
from
August 29, 2026 12:29
3475b53 to
748409b
Compare
nicholasadamou
marked this pull request as ready for review
August 29, 2026 12:43
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
Make
tabs.next/tabs.prevandeditor.lineStartrebindable via KEYBINDABLE +customCommands. Move Ctrl+Opt+B (line home) onto the global keymap so it works with the custom-command path.Context
Remaining KEYBINDABLE leftovers from the druk→dune feature-gap pass. Rebased onto
mainafter #54–#56 merged.Test plan
test/keybindings.test.tsxand existingtest/line-edit.test.tsxCtrl+Opt+BNeed help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit
New Features
Bug Fixes