kwerty

lazygit

Terminal UI for git with keyboard-driven staging, committing, and rebasing

linuxmacosratataqueGrimalDevtoolsgit

Overview

lazygit replaces most git CLI interactions with a visual TUI. Stage hunks, interactive rebase, cherry-pick, and resolve conflicts -- all without leaving the terminal.

GrimalDev's Configuration

gui:
  theme:
    selectedLineBgColor:
      - "black"
    cherryPickedCommitBgColor:
      - "black"
  showIcons: true
  nerdFontsVersion: "3"
 
git:
  paging:
    colorArg: always
    pager: ydiff -p cat -s --wrap
 
os:
  editPreset: "nvim"

ratataque's Configuration

gui:
  theme:
    activeBorderColor:
      - "#a6e3a1"
      - "bold"
    inactiveBorderColor:
      - "#45475a"
    selectedLineBgColor:
      - "#313244"
    cherryPickedCommitBgColor:
      - "#313244"
    cherryPickedCommitFgColor:
      - "#a6e3a1"
  showIcons: true
  nerdFontsVersion: "3"
 
git:
  paging:
    colorArg: always
    pager: delta --dark --paging=never
 
os:
  editPreset: "nvim"

Keybindings

lazygit uses vim-style navigation by default:

KeyAction
j / kNavigate up/down
h / lSwitch panels
spaceStage/unstage file
cCommit
PPush
pPull
rRebase
sSquash
eEdit file

Integration

Launched from Neovim via <leader>lg keybinding, or from the terminal as lg (fish alias).