Persistent editor / view state on restart

Every time I reopen Obsidian all open files get to the top (offset 0). I’d like to have them come back where they were before quit/crash.

I use obisidian with multiple windows, split windows and tabs. There’s a lot of context in the view state that I’d like to not lose when it crashes or when I quit.

2 Likes

@Obsidian - at a minimum it would be useful to know if this can be done externally through a plugin that would be able to save and restore the editor state.

attempting to answer my own question.

Found this dead plugin

It doesn’t seem to work but at least seems that it may be possible to fix through a plugin. Although this should be a native feature and I suspect Chrome already supports it out of the box since the browser tab position is saved across restarts.

Found the workspace layout (Workspaces - Obsidian Help).
I suppose the option that I’m asking for should be called “save workspace state” and should cover a few related features requested

This post seems to address a related aspect, meant for plugins persisting your view state - Liam Cain

Somewhat related

1 Like

Found 2-3 plugins. They all save the offset of the file. This may be useful when you want to reopen files at the last edit location. However, the feature here is to save the state of the editor, so it’s the offset of each tab / leaf that matters.

First stab at the plugin here

Plugins that save the file-level state

The plugin is pending review for inclusion in the marketplace. I’ve been using it for the past weeks and seems to do the job.

You can test it out directly by installing the BRAT plugin first and adding the GitHub URL directly from BRAT