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 {
|
return {
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
keys = {
|
keys = {
|
||||||
{ '<leader>gg', ':Git<cr>', 'Git Status' },
|
{ '<leader>gg', ':tab Git<cr>', 'Git Status' },
|
||||||
{ '<leader>gc', function()
|
{ '<leader>gc', function()
|
||||||
if vim.bo.filetype == 'fugitive' then
|
if vim.bo.filetype == 'fugitive' then
|
||||||
vim.cmd.close()
|
vim.cmd.close()
|
||||||
end
|
end
|
||||||
vim.cmd("Git commit")
|
vim.cmd("tab Git commit")
|
||||||
end, '(g)it (c)ommit' }
|
end, '(g)it (c)ommit' }
|
||||||
},
|
},
|
||||||
cmd = {
|
cmd = {
|
||||||
|
|||||||
Reference in New Issue
Block a user