Files

18 lines
294 B
Lua

return {
'tpope/vim-fugitive',
keys = {
{ '<leader>gg', ':tab Git<cr>', 'Git Status' },
{ '<leader>gc', function()
if vim.bo.filetype == 'fugitive' then
vim.cmd.close()
end
vim.cmd("tab Git commit")
end, '(g)it (c)ommit' }
},
cmd = {
'Git',
'Gread',
'Gbrowse'
}
}