A Rust TUI for Git workflows, inspired by lazygit and the IDEA Git tool window.
- branch, log, stash, shelve, remote, diff, and commit flows
- vim-style navigation and fast keyboard-driven operations
cargo run -- <repo-path>cogit reads config.toml from the standard config directory:
- macOS:
~/Library/Application Support/one.gemo.cogit/config.toml - Linux:
~/.config/cogit/config.tomlor$XDG_CONFIG_HOME/cogit/config.toml - the file is created on demand when switching keymap presets or saving a global layout preset
Example:
[keymap]
preset = "vim" # or "helix"
[layout]
vertical = [82, 18]
columns = [28, 44, 28]
left_rows = [48, 28, 24]
center_rows = [68, 32]
right_rows = [52, 48]Tiled layout notes:
- The main screen now keeps every panel visible in a shared lazygit-style tiled layout.
Tab/Shift+Tabmoves focus between panes.Ctrl+Arrowresizes the active pane group.Alt+ssaves the current layout into the repo-local.git/configascogit.layout.Ctrl+gsaves the current layout as the global default inconfig.toml.Ctrl+rclears the repo-local override and reloads the saved default layout.
In-app commands:
:keymap vim:keymap helix:keymapto show the current preset?to open contextual which-key/help
- Planning documents are kept outside the repository under
.hermes/and are not tracked in git.