fix: change diff put/get mapping
This commit is contained in:
@@ -29,8 +29,8 @@ vim.keymap.set("t", "<C-\\>", function()
|
||||
end)
|
||||
|
||||
-- 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" }, "<leader>do", ":diffget<CR>")
|
||||
vim.keymap.set({ "n", "x" }, "dp", ":diffput<CR>")
|
||||
vim.keymap.set({ "n", "x" }, "do", ":diffget<CR>")
|
||||
|
||||
local close_pum = function()
|
||||
if vim.fn.pumvisible() ~= 0 then
|
||||
|
||||
Reference in New Issue
Block a user