feat: Add keymap to easily select recently pasted text
This commit is contained in:
parent
c75b77b0d6
commit
b9d737761b
6
lua/custom/keymaps.lua
Normal file
6
lua/custom/keymaps.lua
Normal file
@ -0,0 +1,6 @@
|
||||
--
|
||||
-- Keymaps
|
||||
--
|
||||
|
||||
-- Selected (visual) pasted text
|
||||
vim.keymap.set("n", "gp", "`[v`]")
|
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user