fugitive things are opening in a new tab now. At least the 2 most
important ones.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user