Skip to content

feat(session): persist :DiffviewOpen and :DiffviewFileHistory views across sessions#235

Merged
dlyongemallo merged 1 commit into
mainfrom
restore_sessions
Jun 14, 2026
Merged

feat(session): persist :DiffviewOpen and :DiffviewFileHistory views across sessions#235
dlyongemallo merged 1 commit into
mainfrom
restore_sessions

Conversation

@dlyongemallo

Copy link
Copy Markdown
Owner

Save view args (plus current file and cursor row) to a companion <session>.diffview.json file on SessionWritePost/VimLeave, and re-invoke them on SessionLoadPost after the cleanup pass.

Gated by new restore_session option (defaults to true).

Fixes #217.

@dlyongemallo dlyongemallo force-pushed the restore_sessions branch 3 times, most recently from 08675d5 to 9f9068b Compare June 14, 2026 04:50
…ws across sessions

Save view args (plus current file and cursor row) to a companion
`<session>.diffview.json` file on `SessionWritePost`/`VimLeave`,
and re-invoke them on `SessionLoadPost` after the cleanup pass. Gated
by new `restore_session` option (defaults to `true`).
@dlyongemallo dlyongemallo merged commit 0525c9c into main Jun 14, 2026
7 checks passed
@dlyongemallo dlyongemallo deleted the restore_sessions branch June 14, 2026 05:13
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

Successfully merging this pull request may close these issues.

[Feature Request] Session Restoration Strategies

1 participant