dotfiles/os/macos/keyboard.pref.fish

20 lines
625 B
Fish
Raw Normal View History

2024-02-01 21:27:49 -08:00
#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2024-02-03 12:05:02 -08:00
print_subtitle Keyboard
2024-02-01 21:27:49 -08:00
execute "defaults write -g AppleKeyboardUIMode -int 3" \
2024-02-03 12:05:02 -08:00
"Enable full keyboard access for all controls"
2024-02-01 21:27:49 -08:00
execute "defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false" \
2024-02-03 12:05:02 -08:00
"Disable automatic capitalization"
2024-02-01 21:27:49 -08:00
execute "defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false" \
2024-02-03 12:05:02 -08:00
"Disable automatic correction"
2024-02-01 21:27:49 -08:00
execute "defaults write com.apple.HIToolbox AppleFnUsageType -int 2" \
2024-02-03 12:05:02 -08:00
"Remap the emoji picker to the Fn key"