README file from
GithubRoot Folder Context Menu
Every folder in Obsidian's File Explorer has a right-click menu — every folder except the one you use most. The vault root has none, and neither does the empty area below the file list, so creating a note at the top level means creating it somewhere else and moving it, or reaching for the ribbon.
This plugin gives both spots the same context menu any other folder gets, minus the entries that cannot apply to the vault itself.
Demo vault
The documentation is a demo vault. Each feature has a note that explains what it does and why you would want it, with a sample folder to create things next to.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
- Running the Root Folder Context Menu: Open demo vault command.
- Downloading
root-folder-context-menu-demo-vault-<version>.zip(<version>is the release version) from the Releases. - Browsing its source in
demo-vault/in this repository.
What it does
- The vault-root row — the row at the very bottom of the left sidebar showing your vault's name — gets the full folder menu: New note, New folder, New canvas, Set as attachment folder, and the rest. 01 Root folder context menu
- The empty area below the last file in the
Filespane opens that same menu, so you do not have to aim at the vault-name row. 02 Empty area context menu
Entries that make no sense for the vault itself — Rename, Delete, Move folder to..., Make a copy, Search in folder — are removed. There is nothing to configure.
Installation
The plugin is available in the official Community Plugins repository.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin are hidden.
To show them, run the following command:
window.DEBUG.enable('root-folder-context-menu');
For more details, refer to the documentation.
Changelog
All notable changes to this project will be documented in the CHANGELOG.
Contributing
Contributions are welcome — see CONTRIBUTING to get set up.
Support
My other Obsidian resources
See my other Obsidian resources.