2022-10-07 10:25:36 +02:00
|
|
|
local yanky = require("yanky")
|
|
|
|
yanky.setup({})
|
|
|
|
|
|
|
|
vim.keymap.set({ "n", "x" }, "p", "<Plug>(YankyPutAfter)")
|
|
|
|
vim.keymap.set({ "n", "x" }, "P", "<Plug>(YankyPutBefore)")
|
|
|
|
vim.keymap.set({ "n", "x" }, "gp", "<Plug>(YankyGPutAfter)")
|
|
|
|
vim.keymap.set({ "n", "x" }, "gP", "<Plug>(YankyGPutBefore)")
|
|
|
|
|
2022-10-07 10:29:49 +02:00
|
|
|
vim.keymap.set("n", "<c-p>", "<Plug>(YankyCycleForward)")
|
|
|
|
vim.keymap.set("n", "<c-n>", "<Plug>(YankyCycleBackward)")
|