Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Enable 3 finger swipe to switch between .h & .m in Xcode
Three finger gestures are awesome in Xcode, but they disappeared in Lion :(
You can bring them back to life however...
Inspired by a post from @gordonhughes (http://geeksinkilts.com/?p=67), explaining how to bring them back on an external trackpad, I started digging around for a way to get it working on the internal trackpads for the mbp/mba models.
*edit*
Perhaps an easier way of doing this found by @gordonhughes again is just this 1 line in Terminal, haven't confirmed this yet though
defaults -currentHost write -g "com.apple.trackpad.threeFingerVertSwipeGesture" -int 1
***
In Terminal:
1. cd /Users/USERNAME/Library/Preferences/ByHost // replace with username
2. ls -lah // will list files, you're looking for a hidden a file name something like this unique string .GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist
3. open -a /Developer/Applications/Xcode.app ".GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist" // replace filename with your file
4. this will open the plist editor in Xcode, set value to 1 for the key "com.apple.trackpad.threeFingerVertSwipeGesture"
5. Check there are no gesture clashes in System Preferences
6. Restart the machine
7. Enjoy
@Phildo

I can confirm the one line terminal command works (along with a restart of the machine). Thanks!

@gabu

Does it work in Xcode 5 and Mavericks?

@leonidmelnik

Yes, it works fine for xcode 5 on Mavericks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.