Restoring 3-finger vertical swipe to XCode

After upgrading to Lion and XCode 4.2, the beloved 3-finger quick switch gesture for jumping back and forth between interface and implementation files was removed (or left out). After some diligent searching, I found the solution for restoring this gesture. Credit for discovering the technical solution goes to Anthony Herron. I'll accept some credit making it crystal clear on Stackoverflow since it was such a muddled issue before, with people claiming all kinds of ridiculous things. For convenience, this is what you do:


From your terminal:
Change to appropriate directory
1. cd /Users/YOURUSERNAME/Library/Preferences/ByHost
List files so you can see the .GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist
2. ls -lah
Open that plist file in xcode
3. open -a /Developer/Applications/Xcode.app ".GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist"
Set value to 1 for the key "com.apple.trackpad.threeFingerVertSwipeGesture"
Save the plist file
Restart machine
VIOLA!
Todd Hopkinson