43

Is it possible to configure finder in Mavericks to open new tab (by clicking plus sign or cmd+t) in the same directory by default?

8 Answers 8

63

Press cmd + ctrl + o in Finder without any selection (otherwise you will open-tab to the selection if it's a folder instead).

cmd + ctrl + o will open a new tab in the same folder as the currently opened folder.

No need for any extra things in OS X for this ;-)

6
  • How the hell do you not select somthing i listview.
    – mjs
    Aug 16, 2019 at 12:05
  • Ok, possible with command mouseclick, but possible with keyboard? So i can set up a karabiner thing for this?
    – mjs
    Aug 16, 2019 at 12:06
  • Make sure that you dont have anything selected in the current tab, just click some empty space.
    – PJJ
    Oct 20, 2019 at 13:28
  • 2
    Not working anymore in MONETERY
    – Khanakia
    Nov 9, 2021 at 15:21
  • 4
    Confirming what @Khanakia said, this used to work, but in Monterey it doesn't, sadly Nov 19, 2021 at 15:48
21

There is another way to accomplish opening a new tab in the same location, if you don't absolutely need to have it as standard.

Open a Finder window and make sure that the Path bar is shown either by going to View -> Show Path Bar or by pressing P. You then get the folder hierarchy in a bar at the bottom of the window. Just hold and double click any item in that bar to open that folder in a new tab (or new window if not using tabs).

enter image description here

2
  • Nice ! I knew there should've been something with the path bar! How do you disable tabs so that you get a new window? Aug 29, 2019 at 16:08
  • 1
    @CiprianTomoiagă Open Finder preferences, go to the General (leftmost) tab and uncheck "Open folders in tabs instead of new windows"
    – Lizzan
    Aug 30, 2019 at 5:36
6

Another similar approach to the one described by Lizzan but which doesn't need the path bar to be visible is to Cmd-click on the current folder in the title bar of your Finder window. This drops down a list of the hierarchical path to the current folder - so the 2nd entry in the list (after the current folder itself) is the parent of the current folder. If you cmd-click on the parent folder it will open in a new tab. To minimise the clicks required if you cmd-click and hold the cmd-click down then when you release it on the parent folder it will open in a new tab.

This approach is very useful if the folder you want in the new tab is actually a sibling of the current folder in the path hierarchy.

2

In Monterey and later versions of MacOS:

press the Command key while you double-click the folder. The folder opens in a new tab or window, depending on your Finder preferences.

1

No, there's no option to do this. The new tab uses the following setting from Finder preferences. There's no option to use the current location or a different location for tabs.

0
1

It's possible to create a automator action and turn it to a service, which you can assign a keyboard shortcut too.

Open automator > select create new service > where it says "service receives selected" choose [files or folder] > where it says "in" choose [Finder.app]

Then find the automator action "reveal finder items" and drag it in. That's it. Save it as a service and then go to keyboard prefs and assign it something like ⌃⌘O. Now when you have a folder selected in finder and do that shortcut it will open a new tap to that location.

It's not perfect. I think I like the Command click title and then command click folder technique better but I thought I'd put it out there.

automator setup

Please write to apple in their feedback page requesting an official finder preference for "new Finder tabs show:" [last opened directory] or [current directory] Maybe they will include in 10.10.

0
1

There's a Finder add-on/replacement called TotalFinder, which has (among other finder tweaks) an option to open new tabs with the location of the last active tab/window.

It's commercial software ($18USD at the time of writing) so probably only worth it if you also want its other features & tweaks.

1

Add this to complex modifications in Karabiner. Basically it will simulate go up once, go down once, then cmd + ctrl + o. The first two to make sure nothing is selected.

It is a bit slow though.

If you have a better idea of how to simulate the unselecting of anything then let me know. Maybe up will not work on /.

    "description": "momomo.com.karabiner.finder.new.tab.in.same.location",
        "manipulators": [
                {
        
                        "conditions": [
                                {
                                        "bundle_identifiers": [
                                                "^com.apple.finder"
                                        ],
                                        "type": "frontmost_application_if"
                                }
                        ],
                        
                        "from": {
                                "key_code": "t",
                                "modifiers": {
                                        "mandatory": [
                                                "left_command"
                                        ]
                                }
                        },
                        "to": [
                                {
                                        "key_code": "up_arrow",
                                        "modifiers": [
                                                "left_command"
                                        ]
                                },
                                {
                                        "key_code": "down_arrow",
                                        "modifiers": [
                                                "left_command"
                                        ]
                                },
                                {
                                        "key_code": "o",
                                        "modifiers": [
                                                "left_command",
                                                "left_control"
                                                
                                        ]
                                }
                        ],
                        "type": "basic"
                }
        ]
}

Updated version, better, faster:

"description": "momomo.com.karabiner.finder.new.tab.in.same.location",
"manipulators": [
    {
        "conditions": [
            {
                "bundle_identifiers": [
                    "^com.apple.finder",
                    "^com.cocoatech.PathFinder"
                ],
                "type": "frontmost_application_if"
            }
        ],
        "from": {
            "key_code": "t",
            "modifiers": {
                "mandatory": [
                    "left_command"
                ]
            }
        },
        "to": [
            {
                "key_code": "a",
                "modifiers": [
                    "left_command",
                    "left_option"
                ]
            },
            {
                "key_code": "o",
                "modifiers": [
                    "left_command",
                    "left_control"
                ]
            }
        ],
        "type": "basic"
    }
]

In Monterey the above no longer works, and this is an updated but with some quirks:

[
  {
    "conditions": [
      {
        "bundle_identifiers": [
          "^com.apple.finder",
          "^com.cocoatech.PathFinder"
        ],
        "type": "frontmost_application_if"
      }
    ],
    
    "from": {
      "key_code": "t",
      "modifiers": {
        "mandatory": [
          "left_command"
        ]
      }
    },
    
    "to": [
      {
        "key_code": "up_arrow",
        "modifiers": [
          "left_command",
          "left_control"
        ]                                        
      }
    ],

    "parameters": {
      "basic.to_delayed_action_delay_milliseconds": 275
    },

    "to_delayed_action": {
      "to_if_invoked": [
        {
          "key_code": "o",
          "modifiers": [
            "left_command"
          ]
        }
      ]
    },
                                                                
    "type": "basic"
  }
  
]

Note that for monterey, you need to COMMAND + T, and then release only T, holding down command for command + o to work. This is because to_delayed_action does not generate modifiers for some wierd reason but removing the modifier part also don't work. So it has to be there, yet it does not do it basically.

Ignore the previous ones for BigSur/Monterey and use this instead:

[
  {
    "conditions": [
      {
        "bundle_identifiers": [
          "^com.apple.finder",
          "^com.cocoatech.PathFinder"
        ],
        "type": "frontmost_application_if"
      }
    ],
    
    "from": {
      "key_code": "t",
      "modifiers": {
        "mandatory": [
          "left_command"
        ]
      }
    },
    
    "to": [
      {
        "key_code": "up_arrow",
        "modifiers": [
          "left_command",
          "left_control"
        ]                                        
      }
    ],

    "parameters": {
      "basic.to_delayed_action_delay_milliseconds": 300
    },

    "to_delayed_action": {
      "to_if_invoked": [
        {
          "key_code": "o",
          "modifiers": [
            "right_command"
          ]
        }
      ]
    },
                                                                
    "type": "basic"
  }
  
]
5
  • 1
    Just found another way to deselect: perform shortcut Command + Option + A. Then Command + Ctrl + O. Using this in BetterTouchTool, working well!
    – AnthoPak
    Feb 9, 2020 at 18:24
  • Deselect all, awesome! I will update my code!
    – mjs
    Feb 10, 2020 at 18:45
  • Command + Option + A no longer works in Monterey. Will deselect all. And not open anything after. left_command + left_control + o has different behaviour now. It will open something in a new tab, but only if the mouse is on a directory. So now, i open in new tab then go up to go to the parent directory. However, if a file is selected this won't work right now.
    – mjs
    Apr 18 at 20:23
  • Difficult to get working in monterey actually.
    – mjs
    Apr 19 at 7:34
  • Added the fix for monterey.
    – mjs
    Apr 23 at 13:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .