Use lazygit in vim.
Notes:
- lazygit-vim assumes a tmux version >= 3.2 (version that introduces
tmux popup
)
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>
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.