Review changes and commits in terminal, leave comments to specific parts, press c to copy comments with filenames and line into a clipboard to share with your favorite coding agent
Controls
tab,h,l,s,f: switch focus between sidebar and diffj/kor arrow keys: move selectionenteroroin the sidebar: open the selected sourceenter,a, orein the diff: add or edit a comment on the selected linedorx: delete the comment on the selected linez: toggle folded comment view, showing each comment with three lines above it grouped by filev: toggle between unified and split diff viewb: toggle sidebar visibilitycory: copy all comments to the system clipboardr: reload repository sourcesq: quit
Clipboard Support
Clipboard copy uses the native command available on the current platform:
- macOS:
pbcopy - Linux Wayland:
wl-copy - Linux X11:
xcliporxsel - Windows:
clip
When running over SSH, diffnotes prefers OSC 52 clipboard sequences so the copy goes to the clipboard of the local terminal, not the remote Linux machine. Your local terminal must allow OSC 52 clipboard access. If you run inside tmux and copy does not reach your local clipboard, enable clipboard passthrough in tmux, for example with set -g set-clipboard on.
