fix: change diff put/get mapping

This commit is contained in:
2025-09-20 19:32:15 +02:00
parent 28029d283d
commit b4645f28d8
+2 -2
View File
@@ -29,8 +29,8 @@ vim.keymap.set("t", "<C-\\>", function()
end) end)
-- Use :diffput/get instead of normal one to allow staging visual selection -- Use :diffput/get instead of normal one to allow staging visual selection
vim.keymap.set({ "n", "x" }, "<leader>dp", ":diffput<CR>") vim.keymap.set({ "n", "x" }, "dp", ":diffput<CR>")
vim.keymap.set({ "n", "x" }, "<leader>do", ":diffget<CR>") vim.keymap.set({ "n", "x" }, "do", ":diffget<CR>")
local close_pum = function() local close_pum = function()
if vim.fn.pumvisible() ~= 0 then if vim.fn.pumvisible() ~= 0 then