This plugin ensures each note occupies only one tab per window pane. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab. Works for opening notes via links, menus, hotkeys.
For Mononote to work correctly, Settings → Editor → Always focus new tabs MUST BE ENABLED. This is because it hooks into the active-leaf-change
event which is not fired for new files when this setting is disabled. Technical limitations, sorry.
For bug reports please use this repo's Issues section — thank you!
I've moved all plugin discussions to the ActionsDotWork Forum which is a hub for both my Obsidian plugins and the macOS/iOS productivity apps I'm building: Carlo's Obsidian Plugins - ActionsDotWork Forum.
The forum supports single-sign-on via GitHub, Apple and Google, meaning you can log in with your GitHub account.
- Search for "Mononote" in Obsidian's community plugins browser. (This link should bring it up.)
- Install it.
- Enable the plugin in your Obsidian settings under "Community plugins".
That's it.
- Install BRAT.
- Add "Mononote" to BRAT:
- Open "Obsidian42 - BRAT" via Settings → Community Plugins
- Click "Add Beta plugin"
- Use the repository address
czottmann/obsidian-mononote
- Enable "Mononote" under Settings → Options → Community Plugins
Clone the repository, run pnpm install
OR npm install
to install the dependencies. Afterwards, run pnpm dev
OR npm run dev
to compile and have it watch for file changes.
Carlo Zottmann, carlo@zottmann.dev, https://c.zottmann.dev, https://github.com/czottmann
Make sure to check out my app, Actions for Obsidian: The missing link between Obsidian and macOS / iOS: 40+ Shortcuts actions to bring your notes and your automations together. It makes Obsidian a first-class citizen in Apple's Shortcuts app.
Use at your own risk. Things might go sideways, hard. I'm not responsible for any data loss or damage. You have been warned.
Always back up your data. Seriously.
MIT, see LICENSE.md.