feat: Add keymap to easily select recently pasted text

This commit is contained in:
Xavier Logerais 2025-03-02 19:34:03 +01:00
parent c75b77b0d6
commit b9d737761b
2 changed files with 9 additions and 0 deletions

6
lua/custom/keymaps.lua Normal file
View File

@ -0,0 +1,6 @@
--
-- Keymaps
--
-- Selected (visual) pasted text
vim.keymap.set("n", "gp", "`[v`]")

View File

@ -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")