From b1c22ae65e455299fd4c8d429d3b5d259acc39a6 Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Tue, 24 Feb 2026 16:50:17 +0800 Subject: [PATCH] feat(nvim): add registers.nvim --- .../editor/neovim/nvim/lua/plugins/plugins-setup.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/coding/editor/neovim/nvim/lua/plugins/plugins-setup.lua b/modules/coding/editor/neovim/nvim/lua/plugins/plugins-setup.lua index 27dc8f7..265b22a 100644 --- a/modules/coding/editor/neovim/nvim/lua/plugins/plugins-setup.lua +++ b/modules/coding/editor/neovim/nvim/lua/plugins/plugins-setup.lua @@ -257,6 +257,7 @@ local plugins = { dependencies = { "tpope/vim-repeat" }, config = function() vim.keymap.set({ "n", "x", "o" }, "s", "(leap)") + vim.keymap.set({ "n", "x", "o" }, "s", "(leap)") vim.keymap.set("n", "S", "(leap-from-window)") -- Exclude whitespace and the middle of alphabetic words from preview: -- foobar[baaz] = quux @@ -333,6 +334,17 @@ local plugins = { event = "VeryLazy", opts = {}, }, + + { + "tversteeg/registers.nvim", + cmd = "Registers", + config = true, + keys = { + { '"', mode = { "n", "v" } }, + { "", mode = "i" }, + }, + name = "registers", + }, } require("lazy").setup(plugins, {})