Skip to content

AngryMorrocoy/tmux-neolazygit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neolazygit

Use lazygit and neovim inside tmux as if they were always meant to be together 😃.

Crappy demo 🤙

neolazygit-demo

Installation

Using TPM (recommended)

Add plugin to the list of TPM plugins.

set -g @plugin 'AngryMorrocoy/tmux-neolazygit'

And press prefix+I to install it.

Manual installation

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.tmux

Reload your TMUX environment:

$ tmux source-file <tmux.conf-path>

Configuration options

Behavior

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.

@open-lazygit

Default: G (shift+g)

Key used to open lazygit.

set -g @open-lazygit 'G'

About

Better workflow with nvim + tmux + lazygit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages