Browse files

.osx: Tweak some more hidden preferences

Thanks to @Lri! Ref. #5.
  • Loading branch information...
1 parent dda45e2 commit 4c0198f0fe247f3e6b15da7433d15dc6a896d7bf @mathiasbynens committed Feb 24, 2012
Showing with 19 additions and 5 deletions.
  1. +19 −5 .osx
24 .osx
@@ -29,6 +29,9 @@ defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
defaults write QuitMenuItem -bool true
+# Disable window animations and Get Info animations in Finder
+defaults write DisableAllAnimations -bool true
# Show all filename extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
@@ -56,6 +59,10 @@ defaults write show-process-indicators -bool true
# Don’t animate opening applications from the Dock
defaults write launchanim -bool false
+# Display ASCII control characters using caret notation in standard text views
+# Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
+defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
@@ -65,7 +72,7 @@ defaults write NSGlobalDomain KeyRepeat -int 0
# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
-# Disable window animations
+# Disable opening and closing window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Enable AirDrop over Ethernet and on unsupported Macs running Lion
@@ -79,6 +86,7 @@ defaults write skip-verify-remote -bool true
# Automatically open a new Finder window when a volume is mounted
defaults write auto-open-ro-root -bool true
defaults write auto-open-rw-root -bool true
+defaults write OpenWindowForNewRemovableDisk -bool true
# Display full POSIX path as Finder window title
defaults write _FXShowPosixPathInTitle -bool true
@@ -121,21 +129,27 @@ defaults write DebugSnapshotsUpdatePolicy -int 2
# Enable Safari’s debug menu
defaults write IncludeInternalDebugMenu -bool true
+# Make Safari’s search banners default to Contains instead of Starts With
+defaults write FindOnPageMatchesWordStartsOnly -bool false
# Remove useless icons from Safari’s bookmarks bar
defaults write ProxiesInBookmarksBar "()"
+# Add a context menu item for showing the Web Inspector in web views
+defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
# Only use UTF-8 in
defaults write StringEncodings -array 4
# Disable the Ping sidebar in iTunes
defaults write disablePingSidebar -bool true
-# Make ⌘ + F focus the search input in iTunes
-defaults write NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
# Disable all the other Ping stuff in iTunes
defaults write disablePing -bool true
+# Make ⌘ + F focus the search input in iTunes
+defaults write NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
# Disable send and reply animations in
defaults write DisableReplyAnimations -bool true
defaults write DisableSendAnimations -bool true
@@ -155,7 +169,7 @@ chflags nohidden ~/Library
# Disable local Time Machine backups
hash tmutil &> /dev/null && sudo tmutil disablelocal
-# Remove Dropbox’s green checkmark icons in
+# Remove Dropbox’s green checkmark icons in Finder
[ -e "$file" ] && mv -f "$file" "$file.bak"
unset file

0 comments on commit 4c0198f

Please sign in to comment.