Click on Empty Explorer
Configure double/triple click, middle click, double middle click, and modifier+click actions on empty space in File Explorer. Supports 17 actions including navigation, tabs, custom hotkeys, and invoking any right-click context menu entry.
Author: LiHua81
Configure what happens when you double click, triple click, middle click, double middle click,
or modifier+click (Ctrl/Alt/Shift+Click) on empty space in File Explorer. Supports 17 different
actions.
How it works
This mod intercepts mouse clicks on the blank area of File Explorer's file list (where
no file or folder is located) and performs the action you've configured.
- Double left click — Windows natively detects double clicks. No delay at all.
- Triple left click — When triple-click is configured, double-click actions are
delayed by ~500ms (the system double-click time). If a third click arrives in that
window, the double-click is cancelled and only the triple-click action fires. If no
third click arrives, the double-click action fires when the timer expires.
When triple-click is not configured, double-click fires instantly as before.
- Modifier + Click — Hold Ctrl, Alt, or Shift while left-clicking empty space to
trigger a separate action (e.g. Ctrl+Click = Go Up, Alt+Click = Refresh). Each
modifier has its own independent action setting.
- Middle click — If only a single-click action is set (double middle click is
disabled), the action fires instantly with no delay, just like left click.
- Double middle click — Windows does not natively support double middle click, so
the mod uses a timer-based detection. When you middle click, the mod waits for your
system's double-click time (typically 500ms). If you middle click again within that
window, it counts as a double click and fires the double-click action instead.
- If both single and double middle click are set: single click is delayed by the
double-click detection window.
- If only double middle click is set: only double clicks trigger the action.
Actions
- Go Up — Navigate to the parent folder
- Go Back — Navigate back in history
- Go Forward — Navigate forward in history
- Refresh — Refresh the current view
- New Tab — Open a new blank tab (Win11)
- Duplicate Tab — Open the current folder in a new tab (Win11)
- Close Tab — Close the current tab (Win11)
- New Folder — Create a new folder in the current view
- Copy Path — Copy the current folder path to clipboard
- Paste — Paste (Ctrl+V) into the current view
- Custom Hotkey — Send a custom key combination, configured per trigger (see below)
- Go to Desktop — Navigate to the Desktop
- Go to Home — Navigate to Quick Access / Home
- Open in VS Code — Invoke "Open with Code" from the context menu. Matches English "Code" as a loose substring, so entries like "Encode with HandBrake" may match first; if the wrong entry fires (or on non-English Windows where "Code" won't match), set that trigger's Context Menu Match override to a more specific text/verb, or use Open Context Menu Item
- Open in Terminal — Launch Windows Terminal (
wt.exe -d <folder>) directly in the current folder. Works regardless of Windows language; requires Windows Terminal to be installed. If Windows Terminal is not installed, or the current location is a virtual folder (This PC, Recycle Bin), nothing happens and the reason is written to the Windhawk debug log.
- Open Context Menu Item — Invoke any right-click background context menu entry by matching its text/verb (configured via "Context Menu Match" setting). Use this for Cursor, Git Bash, PowerShell, or any program that registered an entry.
- None — Do nothing
Custom Hotkey
When you choose "Custom Hotkey" for a trigger, a text field appears where you define the shortcut.
Format: Modifier+Modifier+...+Key — spaces around + are optional and auto-trimmed
- Modifiers:
Ctrl, Shift, Alt, Win — can combine multiple, e.g. Ctrl+Shift+N, Win+Shift+S
- Keys: letters (A-Z), digits (0-9), function keys (F1-F24), named keys (Tab, Enter, Space, Backspace, Delete, Escape, Left, Right, Up, Down, Home, End, PageUp, PageDown, Insert)
Examples: Ctrl+V, Ctrl+Shift+N, Win+E, Alt+F4, Ctrl+Shift+Esc, F5, Win+Shift+S
Each trigger has its own independent custom hotkey field.
Context Menu Match
When you choose Open Context Menu Item for a trigger, this text field tells the mod which
right-click background menu entry to invoke. The mod opens the folder's actual right-click
context menu programmatically and invokes the entry that matches your input.
Matching Rules
Matching is case-insensitive and ignores spaces and & accelerator markers. An
exact match on the normalized text or verb takes priority over a substring match, and
top-level entries are checked before submenu entries, in menu order:
| Menu item text |
Verb |
You can type any of |
Open Git Ba&sh here |
git_shell |
gitbash, git, bash, shell |
Open with Code |
{1C6DF0C0...} |
code, openwithcode |
Open in Terminal |
{9F156763...} |
terminal, openinterminal |
&ExtractAllFiles |
ExtractAllFiles |
extractall, extract |
Properties |
properties |
prop, properties |
New → Folder |
NewFolder |
newfolder, folder |
How to Find the Right Text
If your match text doesn't work, check the debug log (enable in Windhawk editor) —
the mod will dump ALL available menu items with their normalized text:
No match for 'Git Bash' — dumping all context menu items:
CMENU[Open Git Ba&sh here] wID=92 verb=[git_shell] → match: "opengitbashhere" or "git_shell"
The → match: part shows the normalized form of each entry's text and verb.
Type any part of either normalized string to match that entry. For example,
"gitbash", "git", "bash", "shell", or "git_shell" would all match this entry.
Per-trigger overrides
Each trigger also has its own Context Menu Match override next to its action
setting (e.g. Double-click Context Menu Match, Middle-click Context Menu
Match). Leave one empty to fall back to the global Context Menu Match above
— this is the recommended way to use several context-menu triggers with
different entries at once.
Matching prefers an exact match on the normalized text or verb and only then
falls back to a loose substring test, so keep match text specific: a short
string like code also matches Encode, Decode, or Open with Code Insiders.
If the wrong entry fires, type the full entry name or its verb to get an exact
match.
Tips
- Any program — any program that registered a right-click entry on the folder background works, regardless of install path
- Multiple matches — an exact match on the normalized text or verb wins over a substring match; within each kind, the first one in menu order is used
- Non-English menus — type any substring from the display text in your system language (e.g., Japanese, Chinese, Korean all work)
Windows version support
Requires Windows 10 or later. Tab-related actions (New Tab, Duplicate Tab, Close Tab)
require Windows 11 for tabbed Explorer support.