neovim: add remaps for git diffview merging

This commit is contained in:
2023-08-11 10:17:06 +03:00
parent f1d7444a74
commit 87edcd25bb

View File

@@ -105,6 +105,8 @@ vim.keymap.set("n", "<leader>gg", ":G<CR>")
vim.keymap.set("n", "<leader>go", function() vim.keymap.set("n", "<leader>go", function()
git.open_commit_on_github() git.open_commit_on_github()
end) end)
vim.keymap.set("n", "gh", ":diffget //2<CR>")
vim.keymap.set("n", "gl", ":diffget //3<CR>")
-- Luasnip -- Luasnip
local function next_choice() local function next_choice()