From 5cce5732cd0764624975367dd5ef9ada4df8284b Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Sat, 23 Aug 2025 01:42:45 +0900 Subject: [PATCH] feat(keymaps): easy register mappings `+`, `_` Signed-off-by: Seongmin Lee --- lua/core/keymaps.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index f55d8ce..7856f1c 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -60,6 +60,10 @@ end, { remap = true, expr = true }) vim.keymap.set("n", "zh", "shiftwidth() . 'zh'", { expr = true }) vim.keymap.set("n", "zl", "shiftwidth() . 'zl'", { expr = true }) +-- easy register mappings +vim.keymap.set("n", "+", '"+') +vim.keymap.set("n", "_", '"_') + -- diagnostics vim.keymap.set("n", "cd", vim.diagnostic.open_float, { desc = "Line Diagnostics" }) -- stylua: ignore start -- 2.51.2