Git
git
git
Displays information about the current Git repository, including branch name, changes, and remote tracking status.
Basic configuration
Options
Hide details of Git changes (added, modified, deleted files).
Symbol shown when the branch is up to date with HEAD. Avoid bash special characters like
$, *, and !.Symbol shown when the branch has uncommitted changes.
Message displayed when the current pane is not in a Git repository.
Hide untracked files from being displayed as local changes.
Show remote tracking branch with diverge/sync state (e.g., “…origin/main +2 -1”).
Display the repository name before the branch name.
Status symbols
When status is enabled (default), the widget shows file change counts:A- Added filesM- Modified filesU- Updated filesD- Deleted files
! 2A 3M 1D main means 2 added, 3 modified, 1 deleted file on the main branch.Usage examples
Remote tracking examples
When@dracula-git-show-remote-status is enabled:main...origin/main- In sync with remotemain...origin/main +3- 3 commits ahead of remotemain...origin/main -2- 2 commits behind remotemain...origin/main +1 -2- 1 ahead, 2 behind (diverged)
Mercurial
hg
hg
Displays information about the current Mercurial repository, including branch name and changes.
Basic configuration
Options
Hide details of Mercurial changes.
Symbol shown when the branch is up to date with HEAD. Avoid bash special characters.
Symbol shown when the branch has uncommitted changes.
Message displayed when not in a Mercurial repository.
Hide untracked files from being displayed as local changes.
Usage examples
Fossil
fossil
fossil
Displays information about the current Fossil repository.
Basic configuration
The Fossil widget provides basic repository detection and status information. Configuration options are being developed.