From ab39e68bdd8c83dd7ed9256af6a9b38583b4a3d4 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 30 Nov 2014 20:26:08 -0800 Subject: minor improvement --- ...-11-30-opera-style-advanced-keyboard-shortcuts-in-safari.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/_posts/2014-11-30-opera-style-advanced-keyboard-shortcuts-in-safari.md b/source/_posts/2014-11-30-opera-style-advanced-keyboard-shortcuts-in-safari.md index 175d792d..ed7654f5 100644 --- a/source/_posts/2014-11-30-opera-style-advanced-keyboard-shortcuts-in-safari.md +++ b/source/_posts/2014-11-30-opera-style-advanced-keyboard-shortcuts-in-safari.md @@ -20,10 +20,10 @@ Lately, with the Yosemite release, Safari has become a much more competitive bro ```bash safari-advanced-keyboard-shortcuts.sh #!/usr/bin/env bash -defaults write -app Safari NSUserKeyEquivalents '{ +defaults write com.apple.Safari NSUserKeyEquivalents '{ "Actual Size"="6"; "Back"="z"; -"Find"="/"; +"Find..."="/"; "Forward"="x"; "Show Previous Tab"="1"; "Show Next Tab"="2"; @@ -32,4 +32,8 @@ defaults write -app Safari NSUserKeyEquivalents '{ }' ``` -Relaunch Safari. You are all set! Enjoy the ultrafast single key navigating experience. +Relaunch Safari. You are all set! Enjoy the ultrafast single key navigating experience. To reset, + +```bash +defaults delete com.apple.Safari NSUserKeyEquivalents +``` -- cgit v1.2.1