Dheepak Krishnamurthy 41d792dd0c Add link for lazygit
2020-04-06 10:38:27 -06:00
2020-04-06 10:30:30 -06:00
2020-04-05 18:59:08 -06:00
2020-04-05 11:24:23 -06:00
2020-04-06 10:38:27 -06:00

lazygit.vim

Plugin for calling lazygit from within neovim.

Install

Use any plugin manager:

vim-plug

Plug 'kdheepak/lazygit.vim'

dein.vim

call dein#add('kdheepak/lazygit.vim')

Vundle.vim

Plugin 'kdheepak/lazygit.vim'

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>

Using neovim-remote

Add the following to your .gitconfig to use your current neovim instance at the commit editor for git.

[core]
  editor = nvr --remote-wait-silent
Description
No description provided
Readme MIT 209 KiB
Languages
Lua 88.2%
Vim Script 11.8%