diff --git a/lua/custom/keymaps.lua b/lua/custom/keymaps.lua new file mode 100644 index 0000000..9743846 --- /dev/null +++ b/lua/custom/keymaps.lua @@ -0,0 +1,6 @@ +-- +-- Keymaps +-- + +-- Selected (visual) pasted text +vim.keymap.set("n", "gp", "`[v`]") diff --git a/lua/polish.lua b/lua/polish.lua index f820cce..ad46c4a 100644 --- a/lua/polish.lua +++ b/lua/polish.lua @@ -2,6 +2,9 @@ -- things like custom filetypes. This just pure lua so anything that doesn't -- fit in the normal config locations above can go here +-- Set up custom keymaps +require("custom.keymaps") + -- Set up custom autocmds require("custom.autocmds")