fugitive things are opening in a new tab now. At least the 2 most

important ones.
This commit is contained in:
2025-12-25 09:02:27 +01:00
parent 0d7c392b47
commit 17a1e0c788

View File

@@ -1,12 +1,12 @@
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 = {