Updated: 2017-04-22 17:34:57 CST +08

Mac

Key Repeat

Mac OS hold key down is show special char default, to change to repeat input char.

  • Enable Key Repeat

    defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
    
  • Disable Key Repeat

    defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool true
    
  • Adjust key repeat speed

    1. System Preferences
    2. Keyboard
    3. Key Repeat

Path

  1. change dir to paths.d

    /ect/paths.d/
    
  2. add path file, name “go”

    #go
    /usr/local/go/bin
    
  3. save file, and restart terminal