2 Commits

Author SHA1 Message Date
17a1e0c788 fugitive things are opening in a new tab now. At least the 2 most
important ones.
2025-12-25 09:02:27 +01:00
0d7c392b47 added some new git commands for fugitive to autoload 2025-12-25 08:59:53 +01:00

View File

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