Basic setup
This commit is contained in:
parent
2ba39c6973
commit
0185a988a2
15 changed files with 412 additions and 38 deletions
21
lua/custom/plugins/lazygit.lua
Normal file
21
lua/custom/plugins/lazygit.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
return {
|
||||
'kdheepak/lazygit.nvim',
|
||||
lazy = true,
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
keys = {
|
||||
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'Lazygit (Root Dir)' },
|
||||
{ '<leader>gf', '<cmd>LazyGitFilterCurrentFile<cr>', desc = 'Lazygit Current File History' },
|
||||
{ '<leader>gl', '<cmd>LazyGitFilter<cr>', desc = 'Lazygit log' },
|
||||
{ '<leader>gb', '<cmd>Gitsigns blame<cr>', desc = 'Git blame' },
|
||||
{ '<leader>gs', '<cmd>Telescope git_status<CR>', desc = 'Git Status' },
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue