summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/mango/lib.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/nvim/lua/mango/lib.lua b/.config/nvim/lua/mango/lib.lua
index 9182a06..5ff57af 100644
--- a/.config/nvim/lua/mango/lib.lua
+++ b/.config/nvim/lua/mango/lib.lua
@@ -15,7 +15,10 @@ function M.remap(modes, from, to, opts)
table.insert(ct, c)
end)
- vim.keymap.set(ct, from, to, opts)
+ vim.keymap.set(ct, from, to, opts or {
+ noremap = true,
+ silent = true,
+ })
end
function M.save_regs(regs, callback)