Is it possible to change or override the default keyboard shortcuts in Finder?

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).

super

Posted 2011-05-16T08:36:40.770

Reputation: 788

Answers

5

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.

Daniel Beck

Posted 2011-05-16T08:36:40.770

Reputation: 98 421

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 contains Control (e.g. Ctrl-Opt-E or Ctrl-Command-E), these are least likely to be in use, in my experience. – Daniel Beck – 2011-05-23T17:05:10.553

Thanks. 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

5

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 *:

system prefs keyboard shortcuts

You can see this new shortcut reflected in Finder's menu:

finder shortcut changed

* I changed it to something I'd never use, as I wanted Cmd + ` for another purpose.

Jarrod Dixon

Posted 2011-05-16T08:36:40.770

Reputation: 101

Best answer for me! – laike9m – 2015-10-08T08:01:58.363