diff --git a/lua/mappings.lua b/lua/mappings.lua index e04c137..f3bf180 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -20,6 +20,9 @@ map("v", "x", [=[ "_x ]=], opt) vim.api.nvim_set_keymap("i", "jk", "", {}) +-- Don't copy the replaced text after pasting in visual mode +map("v", "p", '"_dP', opt) + -- OPEN TERMINALS -- map("n", "", [[vnew term://bash ]], opt) -- term over right map("n", "", [[ split term://bash | resize 10 ]], opt) -- term bottom