Files
dotfiles-modules/homemanager/neovim/lua/plugins/spec/fugitive.lua
2025-10-14 12:29:46 +02:00

14 lines
255 B
Lua

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