Compare commits
2 Commits
56b0f4d312
...
17a1e0c788
| Author | SHA1 | Date | |
|---|---|---|---|
| 17a1e0c788 | |||
| 0d7c392b47 |
@@ -1,13 +1,17 @@
|
|||||||
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 = 'Git'
|
cmd = {
|
||||||
|
'Git',
|
||||||
|
'Gread',
|
||||||
|
'Gbrowse'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user