Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCfg = Config{ Symbols: symbols{ Branch: "⎇ ", Staged: "● ", Conflict: "✖ ", Modified: "✚ ", Untracked: "… ", Stashed: "⚑ ", Clean: "✔", Ahead: "↑·", Behind: "↓·", HashPrefix: ":", }, Styles: styles{ State: "#[fg=red,bold]", Branch: "#[fg=white,bold]", Remote: "#[fg=cyan]", Staged: "#[fg=green,bold]", Conflict: "#[fg=red,bold]", Modified: "#[fg=red,bold]", Untracked: "#[fg=magenta,bold]", Stashed: "#[fg=cyan,bold]", Clean: "#[fg=green,bold]", }, Layout: []string{"branch", "..", "remote-branch", "divergence", " - ", "flags"}, Options: options{ BranchMaxLen: 0, }, }
DefaultCfg is the default tmux configuration.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Symbols contains the symbols printed before the Git status components. Symbols symbols // Styles contains the tmux style strings for symbols and Git status // components. Styles styles // Layout sets the output format of the Git status. Layout []string `yaml:",flow"` // Options contains additional configuration options. Options options }
Config is the configuration of the Git status tmux formatter.
Click to show internal directories.
Click to hide internal directories.