Created
August 8, 2011 15:53
-
-
Save anthonyherron/1132018 to your computer and use it in GitHub Desktop.
Enable 3 finger swipe to switch between .h & .m in Xcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Does it work in Xcode 5 and Mavericks?
Yes, it works fine for xcode 5 on Mavericks :)
Does it work on Xcode 16?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can confirm the one line terminal command works (along with a restart of the machine). Thanks!