obsidian-remember-file-state icon indicating copy to clipboard operation
obsidian-remember-file-state copied to clipboard

State not saved until vault closed or Obsidian closed

Open Joolyan opened this issue 2 years ago • 2 comments

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.

Joolyan avatar Oct 02 '23 13:10 Joolyan

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?

ludovicchabant avatar Oct 02 '23 23:10 ludovicchabant

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.

Joolyan avatar Oct 03 '23 08:10 Joolyan