Is it possible to change or override the default keyboard shortcuts in Finder?
Solution 1
You could try to remove the keyboard shortcut from Finder, as per this answer of mine, in collaboration with @Arjan:
defaults write com.apple.Finder NSUserKeyEquivalents -dict-add "New Window" nil
(not on OS X right now, replace text with actual label)
Maybe then the keyboard shortcut for the Service will work.
Solution 2
I had this same issue with wanting to change Finder's "Cycle Through Windows" default of Cmd + `.
By adding an application-specific shortcut in System Preferences > Keyboard, I was able to change the default *:
You can see this new shortcut reflected in Finder's menu:
* I changed it to something I'd never use, as I wanted Cmd + ` for another purpose.
super
Updated on September 18, 2022Comments
-
super almost 2 years
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).
-
super about 13 yearsSo this worked beautifully - and now i know about the NSUserKeyEquivalents - whoot! I found a nice writeup on this website (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!
-
HikeMike about 13 years@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. -
Iroh almost 11 yearsThanks. 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
-
laike9m over 8 yearsBest answer for me!