diff --git a/.config/nvim/lua/plugins/yanky.lua b/.config/nvim/lua/plugins/yanky.lua index d864186..12516f7 100644 --- a/.config/nvim/lua/plugins/yanky.lua +++ b/.config/nvim/lua/plugins/yanky.lua @@ -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", "(YankyPutAfter)") vim.keymap.set({ "n", "x" }, "P", "(YankyPutBefore)")