Enter to Rename in File Explorer
Rename selected files and folders with Enter, like in macOS Finder.
Author: emagiaco
Use Enter to rename a selected file or folder in Windows File Explorer,
like in macOS Finder. Press Enter again to confirm the new name.
The standard F2 shortcut is unchanged.
Scope
- Works in File Explorer windows when keyboard focus appears to be inside the
shell file list. Existing Explorer behavior is unchanged.
- Desktop support is enabled by default. Disable it in Settings
to restore normal Enter behavior on the desktop. Only the focused icon list
is eligible; the desktop background and other desktop controls are excluded.
- File dialogs are not supported in this version.
- Does not intercept Enter while editing text, in the address/search controls,
or with Ctrl, Alt, or Shift pressed.
- This mod intentionally does not remap Ctrl+Enter to open a file.
Compatibility
Tested by the original user on Windows 11 for files, folders, rename confirmation,
search, and multi-selection. Other Windows versions, Explorer extensions and
alternative list controls have not yet been validated.
Desktop support requires separate validation on the target Windows build.
Notes
The mod intercepts Enter and synthesizes an F2 key press. The context check
is based on Explorer window classes, which might differ across builds.
If the mod causes unintended behavior, disable it in Windhawk.