mirror of
https://github.com/chenasraf/lazygit.nvim.git
synced 2026-05-18 01:39:13 +00:00
Merge branch 'kdheepak:main' into feat/resize
This commit is contained in:
12
README.md
12
README.md
@@ -35,10 +35,22 @@ Install using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
|
||||
require("lazy").setup({
|
||||
{
|
||||
"kdheepak/lazygit.nvim",
|
||||
cmd = {
|
||||
"LazyGit",
|
||||
"LazyGitConfig",
|
||||
"LazyGitCurrentFile",
|
||||
"LazyGitFilter",
|
||||
"LazyGitFilterCurrentFile",
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
||||
}
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
@@ -34,9 +34,13 @@ endif
|
||||
|
||||
" if lazygit_use_custom_config_file_path is set to 1 the
|
||||
" lazygit_config_file_path option will be evaluated
|
||||
let g:lazygit_use_custom_config_file_path = 0
|
||||
if !exists('g:lazygit_use_custom_config_file_path')
|
||||
let g:lazygit_use_custom_config_file_path = 0
|
||||
endif
|
||||
" path to custom config file
|
||||
let g:lazygit_config_file_path = ''
|
||||
if !exists('g:lazygit_config_file_path')
|
||||
let g:lazygit_config_file_path = ''
|
||||
endif
|
||||
|
||||
command! LazyGit lua require'lazygit'.lazygit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user