Skip to content

feat(edit): split view with live preview (⌥⇧⌘E) - #55

Merged
b451c merged 1 commit into
b451c:mainfrom
shmuelzon:split-view-edit
Nov 11, 2026
Merged

b451c merged 1 commit into
b451c:mainfrom
shmuelzon:split-view-edit

Conversation

@shmuelzon

Copy link
Copy Markdown
Contributor

Source Edit can show the editor and the rendered document side by side. The rendered side follows the buffer as you type; only Save writes the file. Toggle with the Split pill, Option-click on Edit, or ⌥⇧⌘E.

Source Edit can show the editor and the rendered document side by side.
The rendered side follows the buffer as you type; only Save writes the
file. Toggle with the Split pill, Option-click on Edit, or ⌥⇧⌘E.
@b451c b451c mentioned this pull request Nov 11, 2026
@b451c
b451c merged commit d6592ae into b451c:main Nov 11, 2026
0 of 3 checks passed
@b451c b451c mentioned this pull request Nov 11, 2026
10 tasks done
@b451c

b451c commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thank you for this, it is in 1.15.0 as "Edit Side by Side" with your shortcut (Option-Shift-Command-E) and Option-click on Edit.

I merged your branch and added a few things on top:

  • the viewer's own rendering path is untouched when you are not editing, and only one preview render runs at a time;
  • the window grows only when it is narrower than two readable halves, and gives the width back when you leave (also with tabs);
  • Contents and #anchor links scroll both sides;
  • print and export stay off while editing, as in Source Edit.

You are credited in the changelog. If something behaves differently from what you intended, tell me here.

@shmuelzon

Copy link
Copy Markdown
Contributor Author

Nice additions, thanks!

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.

2 participants