Compare commits
2 Commits
56b0f4d312
...
17a1e0c788
| Author | SHA1 | Date | |
|---|---|---|---|
| 17a1e0c788 | |||
| 0d7c392b47 |
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user