updated vim-fugitive with keymaps for status, log and add
This commit is contained in:
parent
ce00a20951
commit
195fa2d50d
1 changed files with 4 additions and 2 deletions
|
@ -1,10 +1,12 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
lazy = true,
|
|
||||||
keys = {
|
keys = {
|
||||||
|
{ "<leader>Gs", "<cmd>Git status <cr>", desc = "git status" },
|
||||||
|
{ "<leader>Gl", "<cmd>Git log --graph <cr>", desc = "git log" },
|
||||||
|
{ "<leader>Ga", "<cmd>Git add --interactive<cr>", desc = "git add" },
|
||||||
{ "<leader>Gc", "<cmd>Git commit<cr>", desc = "git commit" },
|
{ "<leader>Gc", "<cmd>Git commit<cr>", desc = "git commit" },
|
||||||
{ "<leader>Gp", "<cmd>Git commit<cr>", desc = "git push" },
|
{ "<leader>Gp", "<cmd>Git push<cr>", desc = "git push" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue