yanky should stick to ram
This commit is contained in:
parent
d725563605
commit
39fcc822bf
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
|||
local yanky = require("yanky")
|
||||
yanky.setup({})
|
||||
yanky.setup({
|
||||
ring = {
|
||||
history_length = 100,
|
||||
storage = "memory",
|
||||
sync_with_numbered_registers = false,
|
||||
cancel_event = "update",
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set({ "n", "x" }, "p", "<Plug>(YankyPutAfter)")
|
||||
vim.keymap.set({ "n", "x" }, "P", "<Plug>(YankyPutBefore)")
|
||||
|
|
Loading…
Reference in a new issue