open lazygit in cwd
This commit is contained in:
@@ -65,7 +65,7 @@ return {
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ '<space>g', function() Snacks.lazygit() end, desc = 'Lazygit' },
|
||||
{ '<space>g', function() Snacks.lazygit({ cwd = vim.fn.getcwd() }) end, desc = 'Lazygit' },
|
||||
{ '<space>gf', function() Snacks.lazygit.log_file() end, desc = 'Lazygit Current File History' },
|
||||
{ '<space>gl', function() Snacks.lazygit.log() end, desc = 'Lazygit Log (cwd)' },
|
||||
{ 'm', function() Snacks.words.jump(vim.v.count1) end, desc = 'Next Reference', mode = { 'n' } },
|
||||
|
||||
Reference in New Issue
Block a user