/lazygit-vim

Primary LanguageVim ScriptMIT LicenseMIT

lazygit-vim

Use lazygit in vim.

lazygit-vim

Requirements

Notes:

  • lazygit-vim assumes a tmux version >= 3.2 (version that introduces tmux popup)

Installation

With vim-plug: Plug 'izotomas/lazygit-vim' in your .vimrc

With Vundle: Plugin izotomas/lazygit-vim in your .vimrc

Add a mapping to your ~/.vimrc (change your key to suit your taste):

nnoremap <C-g> :Lazygit<CR>

Usage

Assuming that your mapping is as above, and your vim runs in a tmux session, you can just press Ctrl+G anytime in normal mode, and lazygit popup will open.