Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Remember settings from previous session

Open eastonking opened this issue 5 months ago • 2 comments

Is your feature request related to a problem? Please describe. I'd like it to remember that I had the split screen option turned on when opening a new session

Describe the solution you'd like Remember previous state toggle

Describe alternatives you've considered Have to click the split button each time a file is opened

eastonking avatar Jun 17 '26 20:06 eastonking

Partly there. Per-tab split state is saved and restored with the window snapshot, and Restore session on reopen is on by default, so reopening a session brings back which tabs were split. #370 also made every setting persist on its own key and stay in sync across windows.

What's missing is what you asked for: there is no global "open new documents in split view" preference. There is Start in editor, but no split equivalent, so a genuinely new session still opens unsplit.

PathGao avatar Aug 02 '26 21:08 PathGao

Done in #517, and closed automatically by it.

Settings → Appearance now has Open existing files in, with three answers: Preview, Editor, Split View. Pick Split View and every file you open lands in split.

It replaced the old "Start in Editor" checkbox rather than adding a switch beside it. Two booleans could say "editor AND split", which is not a state a tab can be in, and the label would have had to explain which one wins. Your existing setting carries over — if you had "Start in Editor" on, it now reads Editor, and nothing about your app changes on upgrade.

Two things this does not change, deliberately:

  • Tabs already open keep the mode you put them in, and reopening a file that is already open does not flip it.
  • Ctrl+N still follows its own preference ("New file opens in editor") — what an empty buffer should open as is a different question from what a file you picked should open as.

Session restore already replayed each tab's split state; what was missing was the default for a newly opened file, which is what you were pressing the button for.

Not in a release yet; it will be in the next one.

PathGao avatar Aug 07 '26 10:08 PathGao