@neilurk12/pi-lazygit
v0.1.1
Published
Open lazygit in popup terminal via /lazygit or Ctrl+Shift+G
Maintainers
Readme
pi-lazygit
Lightweight Pi extension that opens lazygit in a popup terminal.
Install
pi install npm:@neilurk12/pi-lazygitOr add to your pi config manually:
{
"extensions": ["@neilurk12/pi-lazygit"]
}Usage
| Method | Action |
|--------|--------|
| /lazygit | Command palette |
| Ctrl+Shift+G | Keyboard shortcut |
Opens lazygit fullscreen in the current repo. Returns to pi when you quit (q).
Requirements
- lazygit installed and on
PATH - Pi running in TUI mode
How it works
Stops the TUI, spawns lazygit with inherited stdio (fullscreen takeover), then restarts the TUI on exit. Uses async spawn so the TUI event loop stays unblocked.
