Vi: insert mode escape seq fallback to command mode#426
Merged
gwenn merged 3 commits intokkawakam:masterfrom Aug 14, 2020
homburg:poc/vi-insert-seq-fallback-to-command-mode
Merged
Vi: insert mode escape seq fallback to command mode#426gwenn merged 3 commits intokkawakam:masterfrom homburg:poc/vi-insert-seq-fallback-to-command-mode
gwenn merged 3 commits intokkawakam:masterfrom
homburg:poc/vi-insert-seq-fallback-to-command-mode
Conversation
We don't expect Meta-X in Vi insert mode only ANSI escape sequence. So Meta-X means Esc (exit insert mode) and do command associated to X.
Contributor
Author
|
@gwenn I have updated this to call the new function |
Collaborator
Contributor
Author
|
@gwenn Great! Missed your pr (obviously). It works perfectly |
Collaborator
|
Thanks. |
gwenn
added a commit
that referenced
this pull request
Sep 13, 2020
…mmand-mode Vi: insert mode escape seq fallback to command mode
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.
Inspired by #416
In vi insert mode:
If getting an unrecognized escape sequence, assume it is a command input instead. eg
Esc, j