Browse files

.osx: Enable scroll to zoom

  • Loading branch information...
1 parent b9fa939 commit 76b752d5ea4b8eeb5c1d76b7ceb4eb8b63708154 @mathiasbynens committed Aug 12, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 .osx
6 .osx
@@ -105,6 +105,12 @@ sudo chmod 444 /private/var/db/.AccessibilityAPIEnabled
# TODO: avoid GUI password prompt somehow (
#sudo osascript -e 'tell application "System Events" to set UI elements enabled to true'
+# Use scroll gesture with the Ctrl (^) modifier key to zoom
+defaults write 'closeViewScrollWheelToggle' -bool true
+defaults write 'HIDScrollZoomModifierMask' -int 262144
+# Follow the keyboard focus while zoomed in
+defaults write 'closeViewZoomFollowsFocus' -bool true
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

0 comments on commit 76b752d

Please sign in to comment.