Commit d17ea31
committed
Build 77
- Removed a special-case property to make the config more consistent.
Switching between modes is done with the `to` command, for example:
```properties
idle-mode.to.normal-mode=+leftalt +e
```
However, hint modes used a different, special-case property to define what mode to switch to after selecting a hint:
```properties
hint1-mode.hint.mode-after-selection=normal-mode
```
This special-case behavior has now been removed in favor of the standard `to` command.
It also allowed me to remove hint2-1-mode and hint2-2-mode, and simply have hint1-mode
and hint2-mode:
```properties
# Go back to normal-mode when the last letter of the hint is pressed.
hint1-mode.to.normal-mode=+hint1key
# Switch to hint2-mode (showing the second hint grid) when the last letter of the hint
# is pressed while holding leftshift.
hint1-mode.to.hint2-mode=_{leftshift} +hint1key
# (hint1key is already defined at the top of the config: key-alias.hint1key.us-qwerty=q w e r t a s d f g z x c v b y u i o p h j k l ; n m , . /)
```
This is a backward-incompatible change, but I believe it's for the best: it improves
flexibility, and makes the configuration more consistent by reusing the existing `to` command.1 parent 43b0b5b commit d17ea31
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments