Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

.osx: Enable scroll to zoom

  • Loading branch information...
commit 76b752d5ea4b8eeb5c1d76b7ceb4eb8b63708154 1 parent b9fa939
@mathiasbynens authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.