diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index f8361ff..1e41076 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -48,9 +48,10 @@ vim.keymap.set("x", "d", "\"_d") -- copy/paste to/from system clipboard vim.keymap.set({ "n", "v" }, "y", "\"+y") --- pasting a selected/higlighted block of text should not replaced the content of the clipboard with it -vim.keymap.set({ "n", "v" }, "p", "_\"+p") -vim.keymap.set({ "n", "v" }, "p", "_p") +vim.keymap.set("n", "p", "\"+p") +-- yank/put to/from register 'a' +vim.keymap.set("x", "ay", '"ay', { noremap = true }) +vim.keymap.set("x", "ap", '"ap', { noremap = true }) -- increment/decrement a count, helpful for changing indeces vim.keymap.set("n", "+", "")