2a7bb143a0d347aa56a9e39cc18907612cc51f1e
Use latest neovim lua native callback
lazygit.nvim
Plugin for calling lazygit from within neovim.
If you are not using neovim nightly, use this branch. You can install it using the following:
Plug 'kdheepak/lazygit.nvim', { 'branch': 'nvim-v0.4.3' }
Install
Use any plugin manager:
Plug 'kdheepak/lazygit.nvim'
call dein#add('kdheepak/lazygit.nvim')
Plugin 'kdheepak/lazygit.nvim'
Usage
The following are configuration options and their defaults.
let g:lazygit_floating_window_winblend = 0 " transparency of floating window
let g:lazygit_floating_window_scaling_factor = 0.9 " scaling factor for floating window
Call :LazyGit to start a floating window with lazygit.
And set up a mapping to call :LazyGit:
" setup mapping to call :LazyGit
nnoremap <silent> <leader>lg :LazyGit<CR>
Open the configuration file for lazygit directly from vim.
:LazyGitConfig<CR>
If the file does not exist it'll load the defaults for you.
Languages
Lua
88.2%
Vim Script
11.8%

