F2 shortcut does not rename folders in Obsidian File Explorer

Description:
In Obsidian’s File Explorer, the F2 shortcut successfully renames files, but it does not work for folders.

Currently, renaming folders requires right-click → Rename, which forces the user to use the mouse.

Expected Behavior:
Pressing F2 on a selected folder should allow inline renaming, just like it works for files.

Steps to Reproduce:

  1. Open Obsidian and navigate to the Dashboard.

  2. Open the File Explorer.

  3. Select a folder.

  4. Press F2.

Actual Behavior:
Nothing happens; the folder cannot be renamed via the keyboard.

Additional Context:
Supporting F2 for folders would improve navigation and organization, especially for users managing many folders.

Environment:

  • Obsidian version: [1.12.4]

  • OS: [Windows]

Suggested Improvement:
Extend the F2 rename shortcut to work on folders in addition to files.

Looks like the FR is here:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.