6
I would like to override the keyboard-shortcut for a particular built-in action in finder (OS X 10.6.7).
An example would be to override the Cmd+N for a New Finder Window to some other action, say Open a blank Text document.
I can create the service for opening a blank Text document in automator - and I can map a new keyboard shortcut for this - but the new keyboard shortcut will not override a default keyboard shortcut.
I do not want to install any 3rd party applications (like QuickSilver).
1
So this worked beautifully - and now i know about the NSUserKeyEquivalents - whoot! I found a nice writeup on this website (http://www.hoboes.com/Mimsy/hacks/disabling-quit-rewriting/) that gave me a better feel around this and how to use the -dict-add and undo whatever mess I might make while experimenting. I actaully miss the good old Windows+E to pull up a nice explorer window and have mapped Command+E to open a finder window. Works perfectly! Thanks a bunch as my productivity just got a 3% boost!
– super – 2011-05-23T16:42:45.777@super Besides creating the "missing/resetting" shortcut, all other actions can be performed more comfortably from System Preferences. Also,
Command-E
is likely used by many applications, I suggest a shortcut that containsControl
(e.g.Ctrl-Opt-E
orCtrl-Command-E
), these are least likely to be in use, in my experience. – Daniel Beck – 2011-05-23T17:05:10.553Thanks. This is very useful. I always press Command+T in Finder, to disable it:
defaults write com.apple.Finder NSUserKeyEquivalents -dict-add "Add to Sidebar" nil
– Marek – 2013-07-12T10:50:53.850