Skip to content

File View

The File View is the main screen in Froggit. It shows all modified files in your Git working directory and provides controls for staging, unstaging, previewing changes, and navigating to other views.

Files are organized into two sections with visual headers:

Staged files appear first, marked with a [✓] checkbox. These are ready to be committed.

Unstaged files appear below, marked with [ ]. These have changes that have not yet been added to the staging area.

Each file displays a status indicator next to its name:

IndicatorMeaningColor
MModifiedOrange
AAdded (new file)Green
DDeletedMagenta
?UntrackedCyan
CConflictRed

When using a terminal with Nerd Fonts, each file displays an icon based on its file extension. This covers common file types including Go, JavaScript, TypeScript, Python, Rust, HTML, CSS, JSON, YAML, Markdown, and many others.

At the top of the view, a summary shows the number of staged and unstaged files. If new commits are available on the remote repository, a warning appears suggesting you should pull.

When the file list is longer than the visible area, scroll indicators appear showing how many files are above or below the current viewport. The cursor tracks your position as you navigate.

KeyAction
Up / DownNavigate through the file list
SpaceStage or unstage the selected file
aStage all files
uUnstage all staged files
dOpen a diff preview for the selected file
xDiscard changes on the selected file (a confirmation dialog appears)
cOpen the Commit View (only available when files are staged)
rRefresh the file status
fFetch from the remote
lPull from the remote
pPush to the remote
bOpen the Branch View
mOpen the Remote View
AEnter Advanced Mode for merge, rebase, stash, and log operations
?Show help