diff --git a/README.md b/README.md index 0eecc4b..a35145d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_682 TILs and counting..._ +_683 TILs and counting..._ --- @@ -289,6 +289,7 @@ _682 TILs and counting..._ - [Access System Information On OS X](mac/access-system-information-on-osx.md) - [Clean Up Old Homebrew Files](mac/clean-up-old-homebrew-files.md) - [Default Screenshot Location](mac/default-screenshot-location.md) +- [Disable Swipe Navigation For A Specific App](mac/disable-swipe-navigation-for-a-specific-app.md) - [Display A Message With Alfred](mac/display-a-message-with-alfred.md) - [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md) - [List All The Say Voices](mac/list-all-the-say-voices.md) diff --git a/mac/disable-swipe-navigation-for-a-specific-app.md b/mac/disable-swipe-navigation-for-a-specific-app.md new file mode 100644 index 0000000..1cf8505 --- /dev/null +++ b/mac/disable-swipe-navigation-for-a-specific-app.md @@ -0,0 +1,17 @@ +# Disable Swipe Navigation For A Specific App + +Mac's touch pad has a bunch of handy swipe gestures, including swiping two +fingers to the left or the right to navigate backward or forward. This +particular gesture can be globally enabled and disabled. I find it useful +for most apps and a pain in a few apps, such as Google Chrome. + +From the terminal we can disable it for a specific app (like Google Chrome): + +```bash +$ defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE +``` + +Restart the target application, in my case Chrome. The left and right swipe +navigation will no longer be triggered. + +[source](https://apple.stackexchange.com/questions/21236/how-do-i-disable-chromes-two-finger-back-forward-navigation)