#!/usr/bin/env bash


# This script does all the "defaults write" work that otherwise I will
# forget and have to google for hours.

# Turn on key-repeat for JetBrains tools.  (for better vim)
# https://gist.github.com/lsd/1e1826907ab7e49c536a

defaults write com.google.android.studio ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.AppCode ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.PhpStorm ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.PyCharm ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.WebStorm ApplePressAndHoldEnabled -bool false
defaults write com.sublimetext.2 ApplePressAndHoldEnabled -bool false
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false         # For VS Code
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false # For VS Code Insider

#!/usr/bin/env bash


# This script does all the "defaults write" work that otherwise I will
# forget and have to google for hours.

defaults write com.apple.finder AppleShowAllFiles YES

# Turn on key-repeat for JetBrains tools.  (for better vim)
# https://gist.github.com/lsd/1e1826907ab7e49c536a

defaults write com.google.android.studio ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.AppCode ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.PhpStorm ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.PyCharm ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false
defaults write com.jetbrains.WebStorm ApplePressAndHoldEnabled -bool false
defaults write com.sublimetext.2 ApplePressAndHoldEnabled -bool false
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false         # For VS Code
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false # For VS Code Insider

Add default to show all files
Add default to show all files
