How do I open folder in a new tab on middle click?

How do I make it possible to open a folder in a new tab by making a single click of the middle click button (sorta like how if you click on the middle click button while hovering over a link in your web browser, it will open that link in a new tab)?

This works for me only from the folder tree.

Settings - File Types....

More options/combinations: Go [Directory Opus Manual]

And turn on Preferences / File Displays / Mouse / Single middle click to trigger file and folder middle double-click events

"Settings / File display / Mouse / Single middle click to switch the selection status " no longer works with folders.

1 Like

Thanks. That works.

1 Like

This works, thank you. I also managed to disable switching the new tab by adding =nofocus. I added this also to the folder tree using Preferences, however, do you know how to also add it to the Favourites bar?

You can do that if you have the latest beta installed, by adding this to the commnad:

KEYARGS "mmb:NEWTAB=nofocus"

The Favorites Bar command is a little special, due to having to translate the name of the favorites branch it displays, but the whole replacement command looks like this:

@ctx:="Favorites SHOWICONS USEQUALKEYS NOOPENINTABS AUTOCREATE BRANCH=""" + LanguageStr("FavoritesBar") + """ KEYARGS ""mmb:NEWTAB=nofocus"""
2 Likes

Hi,

In order to open a folder on a new unfocused tab, should we add :

Go NEWTAB=nofocus KEYARGS "mmb:NEWTAB=nofocus"

In Settings > File Type > All folders > Events > Double middle click ?

I did that and nothing happens when single clicking a folder.

Thank you very much.

Since you configured something related to double click, the fact that it has no effect on single click seems rather reassuring.
Have you tried to double middle click?

Indeed, but then, what does the following mean ?

To which command should this be added ?

I was expecting it to be added after the previously mentionned command, that is the command "Go NEWTAB" which is in Settings > File Types > All Folders > Double middle mouse click (if we read the previous comments to which Leo replies).

Since there is no "Single middle mouse click" entry in the Events section, I thought this was somehow a workaround.

So, to which command should be this added to make single middle mouse click open a folder in a new unfocused tab ?

Thank you.

Turn on this setting:

Preferences / File Displays / Mouse:
Single middle click to trigger file and folder middle double-click events

You may then also want to turn off the setting above that one, which makes middle-clicks toggle a single file's selection (similar to ctrl + left-click).

1 Like

Thanks, and sorry about that — I didn’t realize this had already been mentioned earlier.

1 Like