diff options
Diffstat (limited to 'lua/plugins/fugitive.lua')
| -rw-r--r-- | lua/plugins/fugitive.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua new file mode 100644 index 0000000..ccce9b5 --- /dev/null +++ b/lua/plugins/fugitive.lua @@ -0,0 +1,10 @@ +return { + "tpope/vim-fugitive", + keys = { + { "<leader>ga", ":Git fetch --all -p<cr>" }, + { "<leader>gl", ":Git pull<cr>" }, + { "<leader>gdh", ":diffget //2<cr>" }, + { "<leader>gdl", ":diffget //3<cr>" }, + }, + cmd = { "G", "Git" }, +} |