-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom digraph support #984
Merged
Merged
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1d7ed3b - Browse repository at this point
Copy the full SHA 1d7ed3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 944c5d2 - Browse repository at this point
Copy the full SHA 944c5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 471d427 - Browse repository at this point
Copy the full SHA 471d427View commit details -
Update digraph formatting to match Vim
Vim only use the `~` prefix if the encoding is "latin1". We can just treat it as though the encoding is Unicode, and match the other places we format printable characters. Note that for Vim, if `'display'` contains "uhex", then all unprintable characters are shown in hex, including control characters (`^C`, etc.). IdeaVim does not support the `'display'` option.
Configuration menu - View commit details
-
Copy full SHA for 6cb6e41 - Browse repository at this point
Copy the full SHA 6cb6e41View commit details -
Output digraph character codes in decimal, like Vim
Not sure why IdeaVim has used hex. Vim appears to have used decimal for at least 20 years.
Configuration menu - View commit details
-
Copy full SHA for 40a5c7d - Browse repository at this point
Copy the full SHA 40a5c7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36500de - Browse repository at this point
Copy the full SHA 36500deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e48f20 - Browse repository at this point
Copy the full SHA 0e48f20View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 073920c - Browse repository at this point
Copy the full SHA 073920cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccff399 - Browse repository at this point
Copy the full SHA ccff399View commit details -
Update default digraphs to match current Vim
List is based on Vim's documentation, although not all digraphs are documented. Additional digraphs are added based on the output of `:digraphs`. These additional digraphs include some digraphs that produce the same character, so the code is updated to handle duplicates, with the same ordering/priority as Vim. Extra digraphs include the Euro symbol (`=e` and `Eu`), quadruple prime (`4'`) and bullet (`oo`), amongst others. Also removes a number of non-standard digraphs. The symbols generated don't match the descriptions. The code appears to be private use, so are not reliable. Once custom digraphs are implemented, they can be easily added back in `~/.ideavimrc`
Configuration menu - View commit details
-
Copy full SHA for ce1389d - Browse repository at this point
Copy the full SHA ce1389dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed0c43b - Browse repository at this point
Copy the full SHA ed0c43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5623b3 - Browse repository at this point
Copy the full SHA f5623b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c56745 - Browse repository at this point
Copy the full SHA 5c56745View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cdc90c - Browse repository at this point
Copy the full SHA 3cdc90cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a08fbe - Browse repository at this point
Copy the full SHA 0a08fbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa3747 - Browse repository at this point
Copy the full SHA 5aa3747View commit details -
Configuration menu - View commit details
-
Copy full SHA for 867853e - Browse repository at this point
Copy the full SHA 867853eView commit details
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.