Added lazygit to the roster
This commit is contained in:
parent
4761ee30c5
commit
9676f7e563
2 changed files with 20 additions and 2 deletions
19
lua/custom/plugins/lazygit.lua
Normal file
19
lua/custom/plugins/lazygit.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
'kdheepak/lazygit.nvim',
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
event = 'VeryLazy',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
keys = {
|
||||
{ '<C-g>', '<cmd>LazyGit<cr>', mode = { 'n', 'v' }, desc = 'LazyGit' },
|
||||
{ '<C-g>', 'q', mode = { 't' }, desc = 'Close LazyGit' },
|
||||
{ '<esc>', '[[<C-><C-n>]]', mode = { 't' }, desc = 'Close LazyGit' },
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue