diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-18 23:36:33 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-18 23:36:33 +0100 |
| commit | e8633ca2ad3a85fd0f46807b1904fb3c5c84d0ca (patch) | |
| tree | c8f697a6137f3ffc8b9b31dc8fc981af5d71ed76 /lua/alpha/plugins/fugitive.lua | |
| parent | de6255149f88a91095fd045c7c6ef4280e249d97 (diff) | |
| download | nvim-conf-e8633ca2ad3a85fd0f46807b1904fb3c5c84d0ca.tar.gz nvim-conf-e8633ca2ad3a85fd0f46807b1904fb3c5c84d0ca.zip | |
feat: clean plugins
Diffstat (limited to 'lua/alpha/plugins/fugitive.lua')
| -rw-r--r-- | lua/alpha/plugins/fugitive.lua | 10 |
1 files changed, 4 insertions, 6 deletions
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 = { - {"<leader>ga", ":Git fetch --all -p<cr>"}, - {"<leader>gl", ":Git pull<cr>"}, + { "<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" }, - config = function () - vim.keymap.set("n", "<leader>gdh", ":diffget //2<cr>", nil) - vim.keymap.set("n", "<leader>gdl", ":diffget //3<cr>", nil) - end } |