-
Notifications
You must be signed in to change notification settings - Fork 20
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
Improve optimization for "diacritics-modifiers" #48
Comments
I think this is somewhat related to combos #44 as the diacretics are also used not simultaneously but before the letter characters. As I noted in that issue, I will currently not be able to tackle such a more complex topic. |
I'm aware that you're short on time (as am I), but I figured I'd catalog this issue. :)
|
I believe that diacretics can be realized using "one-shot" layers. I added a |
Interesting, I'll take a look sometime the next weeks! |
The modifier type can be specified in the It is now also possible to specify modifiers both using |
Seems pretty neat, looking at the config!
|
The Previously, the modifier was specified by providing a The reason why it is now possible to also specify a symbol rather than a
As soon as there is at least one
Mixing
|
Neat!
I still don't quite get that part. where would you put the Ô in this list? base_layout:
keys:
# Row 0 (number row)
...
# Row 2 (home row)
- - ["⇩"]
- ["u", "U", "\\", "⇱", "", "⊂"]
- ["i", "I", "/", "⇠", "ι", "∫", "ì", "í"]
- ["a", "A", "{", "⇣", "α", "∀", "à", "á"]
- ["e", "E", "}", "⇢", "ε", "∃", "è", "é"]
- ["o", "O", "*", "⇲", "ο", "∈", "ò", "ó"]
- ["s", "S", "?", "¿", "σ", "Σ"]
- ["n", "N", "(", "4", "ν", "ℕ"]
- ["r", "R", ")", "5", "ρ", "ℝ"]
- ["t", "T", "-", "6", "τ", "∂"]
- ["d", "D", ":", ",", "δ", "Δ"]
- ["⇘"]
- ["´", "~", "/", "˝", "", "˘"]
- ["\n"]
... |
You would put it behind the base_layout:
keys:
# Row 0 (number row)
...
# Row 2 (home row)
- - ["⇩"]
- ["u", "U", "\\", "⇱", "", "⊂"]
- ["i", "I", "/", "⇠", "ι", "∫", "ì", "í"]
- ["a", "A", "{", "⇣", "α", "∀", "à", "á"]
- ["e", "E", "}", "⇢", "ε", "∃", "è", "é"]
- ["o", "O", "*", "⇲", "ο", "∈", "ò", "ó", "Ô"]
- ["s", "S", "?", "¿", "σ", "Σ"]
- ["n", "N", "(", "4", "ν", "ℕ"]
- ["r", "R", ")", "5", "ρ", "ℝ"]
- ["t", "T", "-", "6", "τ", "∂"]
- ["d", "D", ":", ",", "δ", "Δ"]
- ["⇘"]
- ["´", "~", "/", "˝", "", "˘"]
- ["\n"]
... and then add another layer in - Left:
type: one_shot
value: ["^", "⇧"]
Right:
type: one_shot
value: ["^", "⇗"] This would activate the new layer containing upper case For a full set of diacritics, you would need to add
|
Got it! Eventually, I might help flesh out |
That would be awesome. Thanks. If you have the time, maybe you can double check the involved performance hit. |
At the moment, keys like
`
,^
,ˇ
,'
,¸
,~
, etc. are only treated as their individual characters.This drastically reduces this optimizer's potential to be used in other languages.
Example: Spanish uses
These Acute Accents are not optimized for.
There are similar, but worse problems in languages such as French, Portugese, Swedish, Polish, and so on.
My suggestion: Properly optimize for all possible combinations that key might produce.
Example with the
^
-key:^
+space
=^
(Caret)^
+^
=̂
(Circumflex)^
+ allowed letters, such ase
=ê
^
+ disallowed lettrs, such asr
= nothingThe text was updated successfully, but these errors were encountered: