feat: refactor codes

feat: custom rime - disable full_shape punctuations
feat: remap capslock key
This commit is contained in:
Ryan Yin
2023-07-15 16:53:42 +08:00
parent 52c72bd45d
commit cf33721ec1
16 changed files with 43 additions and 162 deletions

View File

@@ -120,8 +120,14 @@
# but it's not supported by macOS yet.
keyboard = {
enableKeyMapping = true; # enable key mapping so that we can use `option` as `control`
# NOTE: do NOT support remap capslock to both control and escape at the same time
remapCapsLockToControl = false; # remap caps lock to control
remapCapsLockToEscape = false; # remap caps lock to escape
remapCapsLockToEscape = true; # remap caps lock to escape
# swap left command and left alt,
# so it matches common keyboard layout: `ctrl | command | alt`
swapLeftCommandAndLeftAlt = true;
};
};