From e8633ca2ad3a85fd0f46807b1904fb3c5c84d0ca Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 18 Jan 2023 23:36:33 +0100 Subject: feat: clean plugins --- lua/alpha/plugins/fugitive.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lua/alpha/plugins/fugitive.lua') diff --git a/lua/alpha/plugins/fugitive.lua b/lua/alpha/plugins/fugitive.lua index bcf7ea8..ccce9b5 100644 --- a/lua/alpha/plugins/fugitive.lua +++ b/lua/alpha/plugins/fugitive.lua @@ -1,12 +1,10 @@ return { "tpope/vim-fugitive", keys = { - {"ga", ":Git fetch --all -p"}, - {"gl", ":Git pull"}, + { "ga", ":Git fetch --all -p" }, + { "gl", ":Git pull" }, + { "gdh", ":diffget //2" }, + { "gdl", ":diffget //3" }, }, cmd = { "G", "Git" }, - config = function () - vim.keymap.set("n", "gdh", ":diffget //2", nil) - vim.keymap.set("n", "gdl", ":diffget //3", nil) - end } -- cgit v1.2.3