feat!: file navigation wraparound with new arrow prev and arrow next commands#2485
Merged
feat!: file navigation wraparound with new arrow prev and arrow next commands#2485
arrow prev and arrow next commands#2485Conversation
hankertrix
added a commit
to hankertrix/augment-command.yazi
that referenced
this pull request
Mar 15, 2025
This will come into effect once the feature has been stabilised, and the minimum Yazi version for the plugin will be bumped. Reference: sxyazi/yazi#2485
Contributor
|
This should be marked as a breaking change, as the default configuration for |
arrow prev and arrow next commandsarrow prev and arrow next commands
Lemi0002
pushed a commit
to Lemi0002/yazi
that referenced
this pull request
Apr 10, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR adds new
arrow prevandarrow nextcommands that provide wraparound navigation at list boundaries and sets them as the default key bindings.This decision is based on the following considerations:
jorkat the list boundaries.arrow 5(multiple units) orarrow 50%(percentage), and the originalarrow -1andarrow 1commands remain available for the previous behavior.Doc https://yazi-rs.github.io/docs/configuration/keymap/#manager.arrow