Skip to content

Commit

Permalink
[CHG] Text changes for 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
czottmann committed Jan 9, 2024
1 parent 3bcaf63 commit 0aa0c00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release history

## 1.1.0, 2024-01-09
## 1.1.1, 2024-01-09

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.

Expand Down
27 changes: 4 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# Mononote

This plugin ensures each note occupies only one tab. 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.
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.


## Scenarios

As an example, assume these open tabs:
- Tab 1 containing Note A
- Tab 2 containing Note B

What's changed:
- In Note B (Tab 2), clicking a link to Note A will focus Tab 1, and Tab 2 will continue to show Note B.
- In Note B (Tab 2), attempting to open a link to Note A in new tab will focus Tab 1, no new tab will be opened.

What's not changed:
- In Note B (Tab 2), clicking a link to Note C: Note C will be opened as usual.
- Tab splitting
- Clicking links in Graph view
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.


## Bug Reports & Discussions
Expand All @@ -28,15 +14,8 @@ I've moved all plugin **discussions** to the ActionsDotWork Forum which is a hub
The forum supports single-sign-on via GitHub, Apple and Google, meaning you can log in with your GitHub account.


## Known Issues

When a pinned note is focussed, it might be opened again in another tab. For example, if the current daily note is focussed and pinned, using its hotkey will open it in another tab. For some reason, the `onFileOpen` event is not always triggered when a pinned tab is in front. My working theory is that this is a bug in Obsidian; I'll keep an eye on it.


## Installation

**2023-06-09: The plugin is not yet available via Community Notes, so these instructions don't work just yet!**

1. Search for "Mononote" in Obsidian's community plugins browser. ([This link should bring it up.](https://obsidian.md/plugins?id=zottmann))
2. Install it.
3. Enable the plugin in your Obsidian settings under "Community plugins".
Expand All @@ -63,6 +42,8 @@ Clone the repository, run `pnpm install` OR `npm install` to install the depende

Carlo Zottmann, <[email protected]>, https://zottmann.co/, https://github.com/czottmann

Make sure to check out my app, [Actions for Obsidian](https://actions.work/actions-for-obsidian?ref=github): 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.


## Disclaimer

Expand Down

0 comments on commit 0aa0c00

Please sign in to comment.