Skip to content

Diff Preview

The Diff Preview lets you inspect exactly what changed in a file before you decide to stage or commit it. This removes the need to leave Froggit to review changes.

From the File View, navigate to any file and press d. Froggit will display the diff for that file in a scrollable view.

For unstaged files, it shows the working directory changes compared to the index. For staged files, it shows the staged changes compared to the last commit.

The diff output uses color coding to make changes easy to scan:

ColorMeaning
GreenAdded lines
RedRemoved lines
CyanHunk headers (line range indicators)
DefaultContext lines (unchanged)

The diff is displayed in a scrollable viewport of 20 lines. A position indicator at the bottom shows your current position in the file (for example, 5/120).

KeyAction
Up / DownScroll through the diff
EscReturn to the File View