I find the Cmd + O shortcut to open a file in Finder unintuitive. Does anyone know how to change it? I'd like to set it so that enter opens a file instead of going into rename mode.
12 Answers
I'm not sure that's possible or recommended given that it is a basic function of the Finder. Keep in mind that Cmd-Down also opens the file if that is any more intuitive.
- 1,766
Use KeyRemap4MacBook (despite the name, it works on all Macs). In the Change Key section, navigate to For Applications, then Enable at only Finder, then check Return Key Opens a file.
Note: This is a free app that basically does the same as the commercial apps mentioned in Daniel's answer. It has the same limitations regarding pressing Return in other contexts inside Finder.
- 1,342
- 11
- 14
This behavior is not just intended by Apple, it's forced.
I was trying myself to circumvent it by redefining the shortcut in System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts (which is a goldmine, you can use it to assign pretty much anything that exists in a regular or context menu in any program to whatever you want (such as F10 to create a folder in Finder, F5 for refreshing pages, etc. This is unique to OS X AFAIK, and it's bloody awesome!).
As it turns out, you cannot assign the enter key alone to any action. And even if you assign something close, like Option+Enter, Finder will just ignore it. If you look in the drop-down, the Cmd+O shortcut is no longer listed there, and neither is Opt+Enter, it's just blank!
Hacks that used to work to get Finder to do things Apple don't think it's supposed to, are blocked with updates, like this hack to get folders listed before files, which was blocked with Lion: http://forums.macrumors.com/showthread.php?t=1411019
I've previously used PathFinder as I find the native Finder app to be extremely bad, but it's a paid app, and it doesn't integrate very nicely with the system IMO (running side-by-side with the native Finder, destroying the gesture for revealing the desktop so that it's just a blank wallpaper, etc.).
I've just come across XtraFinder ( http://www.trankynam.com/xtrafinder/ ), which is a free plugin for Finder. It's not as feature-filled as PathFinder or Total Finder, but as it's not an app but a plugin, it's much leaner and non-intrusive. It adds tabs, enter-to-open (with your choice of shortcut for renaming, e.g. F2), ordering folders before files, and much more.
It also adds the possibility to refresh the Finder view (which is a more than welcome addition if you've ever tried browsing a network share where a file just appear, yet there's no way to refresh Finder, so it doesn't pick it up until you restart the system (seriously!))
I think it's pretty cool, and it'll sort you out with regards to your problem :)
- 2,369
- 18
- 26
- 775
- 9
- 18
I am a new Mac user (switched from Windows) and I found Command+↓ to be extremely unintuitive to open a file (Why would it be anything except Enter/Return?).
I Use BetterTouchTool to manage my keyboard shortcuts and set it to trigger the Command+↓ shortcut when I press Enter in Finder. That did it for me (you have to note that by doing this, you cannot use Enter for anything else in Finder, which is fine by me).

- 218
- 331
Karabiner is yet another alternative to remap the return key, along with pretty much any other key you might want: https://pqrs.org/osx/karabiner/
You can remap keys, change repeat rate, customize the menu bar, and other functions.

- 13,477
- 203
It is possible using third party software, because they intercept keystrokes before they arrive at the frontmost application.
Using Butler I was able to define a Keystrokes item that presses Cmd-Down whenever the hot key Return is pressed only in Finder. For a more detailed description, see this somewhat related answer.
The problem is similar to the other answer's:
A significant downside to this sledge-hammer-solution: You cannot ever press return in Finder to have it mean something else. Committing changes to a Get Info dialog to rename something, or triggering a dialog's default button: Return is not going to work.
It is definitely not possible using system methods.
Using System Preferences » Keyboard » Keyboard Shortcuts » Applications I defined a shortcut so that Return triggered the Open menu item (with some manual editing of plist files, it's possible):
Return still triggers renaming.
Even using a Service* to trigger the action won't work:
- Shortcuts for application specific services are configured the same way as custom shortcuts to regular menu items
- Shortcuts in
.GlobalDomain.plistfor all applications don't work either. I tried.
- 111,893
As for today the simple solution is:
Install Karabiner-Elements: https://karabiner-elements.pqrs.org/docs/getting-started/installation/
Add complex modification rule:
a) Automatically - one click import from official rules site: https://ke-complex-modifications.pqrs.org/#finder_improved_navigation
b) Or manualy - add code into to complex modifications:
{
"title": "Finder: enter -> open, f2 -> rename",
"rules": [
{
"description": "Use Return as Open if not renaming file",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com.apple.finder"
],
"type": "frontmost_application_if"
},
{
"type": "variable_unless",
"name": "onedit",
"value": 1
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "o",
"modifiers": [
"right_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Use Return to finish renaming when onedit=1",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com.apple.finder"
],
"type": "frontmost_application_if"
},
{
"name": "onedit",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "return_or_enter"
},
{
"set_variable": {
"name": "onedit",
"value": 0
}
}
],
"type": "basic"
}
]
},
{
"description": "Use F2 as Rename and set onedit",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f2"
},
"to": [
{
"key_code": "return_or_enter"
},
{
"set_variable": {
"name": "onedit",
"value": 1
}
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com.apple.finder"
]
}
]
}
]
}
]
}
The original answer is posted here: Making the Backspace key go to the previous folder in Finder
- 81
I can confirm that at time of writing (Sept. 9, 2012), PresButan v1.4 does exactly this for OSX Lion. (Please comment if anyone can confirm support for Mountain Lion.)
PresButan: An idiotically named solution to a spectacular UI oversight (rather apropos, eh?). It also lets you use either the backspace or delete key to delete files.
I can confirm it works (just installed it). Apparently it leverages the accessibility system and uses a daemon to catch the return events.
If you are on 10.3-10.5, you also have the option of using ReturnOpen.
-- @Fake Name via Apple StackExchange site: Open Folder with Enter in Finder
Could you use this method to add an action for the Finder application?
Keyboard prefs > keyboard shortcuts tab > +
- 477
You can't do it. "Enter" or "Return" aren't single key options, you have to have a modifier. Probably why pressing enter or return doesn't open the file in the first place, because the way the system is set up actions need a modifier key.
- 12,990
This might probably help you:
http://forums.macosxhints.com/archive/index.php/t-31633.html
Also have a look at ReturnOpen.
- 9,032
