Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.23 KB

tmux-lazygit-popup
Access LazyTest from anywhere in tmux, without a session/window/pane 💬

Screen.Recording.2024-07-03.at.19.29.06.mov

Installation

Install the plugin via the TPM plugin manager. Add the following line to the .tmux.conf and install with `I

set -g @plugin 'kampanosg/tmux-lazygit-popup'

Prerequisites

Customisation

Add the following vars to the .tmux.conf to change the key, width, height and border of the popup

TMUX_LAZYGIT_POPUP_KEY='C-g'
TMUX_LAZYGIT_POPUP_WIDTH='70%'
TMUX_LAZYGIT_POPUP_HEIGHT='70%'
TMUX_LAZYGIT_POPUP_BORDER='double'

The available TMUX_LAZYGIT_POPUP_BORDER values are single, rounded, double, heavy, simple and none. The default value is rounded.

Usage

To launch tmux-lazygit-plugin, press <prefix>G (Shift + g). The plugin will use the active pane's current working directory to launch LazyGit from. You can close the popup by stopping LazyGit (e.g. by pressing q)