Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdheepak/lazygit.vim #66

Open
yaohunzhanyue opened this issue Apr 10, 2020 · 0 comments
Open

kdheepak/lazygit.vim #66

yaohunzhanyue opened this issue Apr 10, 2020 · 0 comments
Labels

Comments

@yaohunzhanyue
Copy link
Owner

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>

Open the configuration file for lazygit directly from vim.

:LazyGitConfig<CR>

If the file does not exist it'll load the defaults for you.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant