docs: document the default keybindings for all three edit modes - #1197
Draft
kronberger-droid wants to merge 1 commit into
Draft
docs: document the default keybindings for all three edit modes#1197kronberger-droid wants to merge 1 commit into
kronberger-droid wants to merge 1 commit into
Conversation
Structured around the four `add_common_*` sets rather than one table per mode, since what separates the modes is which sets they compose and which single keys they override. Filing the shared bindings under emacs instead leaves vi insert described by subtraction. Closes nushell#350. Supersedes nushell#1119, which predates helix.
kronberger-droid
force-pushed
the
docs/keybindings-table
branch
from
August 26, 2026 12:58
68a5b03 to
054b8ef
Compare
Contributor
|
nice work. been needed for a while |
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
#350 asks for an end-user table of the default keybindings.
#1119 took a run at it but went quiet, and it predates helix, so this supersedes it.
Structured around the four
add_common_*sets rather than one table per mode, as I asked for in my review on #1119.Each mode section stands on its own and lists only what it adds.
Docs only, no API or behavior change.
Additional notes
A few descriptions did not match what reedline actually does and now describe reedline, notably vi
I(MoveToLineStart, not vim's first non-blank) andCtrl-d(deletes a grapheme unless the buffer is empty).closes #350
The emacs and vi tables started from @Semak12345's work in #1119, thanks for that.