Open
Conversation
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
- Move map_pair check inside expr_map to only affect pair rules - Other map_* options (map_bs, map_cr, map_c_h, map_c_w) now work independently - Add normalize_key function for consistent key normalization - Update README example to disable all map_* options - Improve tests to handle mixed case key variations Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Use part:upper():match() to detect modifiers (C, M, S) regardless of case Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
…lower_bracket - Changed expr_map to use early return pattern instead of nested if - Replaced normalize_key with lower_bracket function that correctly handles Meta key combinations - Updated comparisons to use lowercase for all keys (including c-h and c-w) - lower_bracket preserves case for Meta key combinations like <m-A> vs <m-a> Co-authored-by: Kaiser-Yang <58209855+Kaiser-Yang@users.noreply.github.com>
Add map_pair option and get_key_handler API for manual keymap control
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.
This is to make it possible to manually binding everything.