mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-26 03:11:32 +01:00
feat: set args about key repeat - macOS
This commit is contained in:
@@ -48,6 +48,12 @@
|
||||
AppleInterfaceStyle = "Dark"; # dark mode
|
||||
AppleKeyboardUIMode = 3; # Mode 3 enables full keyboard control.
|
||||
ApplePressAndHoldEnabled = true; # enable press and hold
|
||||
|
||||
# If you press and hold certain keyboard keys when in a text area, the key’s character begins to repeat.
|
||||
# This is very useful for vim users, they use `hjkl` to move cursor.
|
||||
InitialKeyRepeat = 20; # sets how long it takes before it starts repeating.
|
||||
KeyRepeat = 10; # sets how fast it repeats once it starts.
|
||||
|
||||
NSAutomaticCapitalizationEnabled = false; # disable auto capitalization(自动大写)
|
||||
NSAutomaticDashSubstitutionEnabled = false; # disable auto dash substitution(智能破折号替换)
|
||||
NSAutomaticPeriodSubstitutionEnabled = false; # disable auto period substitution(智能句号替换)
|
||||
|
||||
Reference in New Issue
Block a user