Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State not saved until vault closed or Obsidian closed #18

Open
Joolyan opened this issue Oct 2, 2023 · 2 comments
Open

State not saved until vault closed or Obsidian closed #18

Joolyan opened this issue Oct 2, 2023 · 2 comments

Comments

@Joolyan
Copy link

Joolyan commented Oct 2, 2023

Thanks for sharing this plugin.

The plugin would be more reliable and useful (for multi-device users) if '/.obsidian/plugins/obsidian-remember-file-state/states.json' was also updated when Obsidian saves the edited markdown files.

This would hopefully not require the use of timers and therefore maintain a key benefit over the 'Remember cursor position' plugin.

@ludovicchabant
Copy link
Owner

Hi! What is your workflow exactly? Do you have your vault in, say, Dropbox, and you want to sync the states.json file across devices while keeping Obsidian open? Isn't that a dangerous workflow that can easily lead to conflicted files as they're changed on multiple devices at the same time? Or maybe I'm misunderstanding something?

@Joolyan
Copy link
Author

Joolyan commented Oct 3, 2023

I'm a new Obsidian user coming from nvALT and this is the workflow I'm hoping to implement. The first issue was that states.json was not updating because Obsidian would not be closed and opened each day. And secondly, the vault is saved to an iCloud Drive folder for use on mobile devices, though mobile and desktop devices are not used at the same time. Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants