Reputation: 3740
Does anyone know how to disable the swipe gesture in Xcode 4 that causes you to jump to a new file? I find that more times than not, this gesture causes me to switch to unintentionally move away from a file I am scanning (I suppose I was lazy before when scrolling up and down, so my fingers would also move horizontally).
Upvotes: 20
Views: 2583
Reputation: 10608
The problem with Aaron's answer is that it disables the gesture completely in all the apps, including Safari. To disable it in Xcode only, type this in the Terminal:
defaults write com.apple.dt.Xcode AppleEnableSwipeNavigateWithScrolls -bool NO
(Source)
Note that you might have to restart Xcode for these changes to take effect.
Upvotes: 23
Reputation: 5188
You have to go outside Xcode and through System Preferences > Trackpad > More Gestures then un-tick 'Swipe between pages'.
Upvotes: 16