Use lazygit and neovim inside tmux as if they were always meant to be together 😃.
Using TPM (recommended)
Add plugin to the list of TPM plugins.
set -g @plugin 'AngryMorrocoy/tmux-neolazygit'And press prefix+I to install it.
Clone this repo:
$ git clone https://github.com/AngryMorrocoy/tmux-neolazygit <clone-path>Add this line to your tmux.conf
run-shell <clone-path>/neolazygit.tmuxReload your TMUX environment:
$ tmux source-file <tmux.conf-path>Opening lazygit reuses a single lazygit window per tmux session. If that window already exists, the plugin focuses it instead of creating a new one. The window is also retargeted to the pane that most recently opened it, so editor actions from lazygit still jump back to the correct pane.
Default: G (shift+g)
Key used to open lazygit.
set -g @open-lazygit 'G'