1.4 KiB
1.4 KiB
Diff Review Mode
Diff review mode provides read-only navigation for unified and classic diff files with speech-first output.
Quick Workflow
- Copy the full absolute path of a diff file to the Fenrir clipboard.
- Press
Fenrir + Ctrl + Dto toggle diff mode on. - Review the diff using the keys below.
- Press
Escto leave diff mode.
If the clipboard does not contain a full absolute file path, Fenrir announces an error and does not enter diff mode.
Keys (Active Only In Diff Mode)
h- Next hunkShift + h- Previous hunkf- Next file sectionShift + f- Previous file sectiona- Next added lineShift + a- Previous added lined- Next removed lineShift + d- Previous removed lineUp- Previous lineDown- Next lineLeft- Previous characterRight- Next characterCtrl + Left- Previous wordCtrl + Right- Next words- Diff summaryF1- Speak key helpEsc- Exit diff mode
Speech Behavior
- Added and removed content is spoken as
Added:andRemoved:lines. - Marker-only lines are normalized for speech:
+++is spoken asadded---is spoken asremoved
- Classic diff markers are spoken in plain language:
17c17->line 17 changed17d16->line 17 deleted16a17->line 17 added
Notes
- Diff mode is read-only and does not modify the diff file.
- Normal Fenrir key bindings are restored when diff mode exits.