Files
nvim-modular/lua/custom/plugins/keymaps-helper.lua
2025-08-10 21:52:20 +02:00

18 lines
346 B
Lua

-- Keymapping helper module
--
local M = {}
function M.map(mode, key, func, opts)
vim.keymap.set(mode, key, func, opts)
end
function M.nmap(key, effect, desc)
map('n', key, effect, { silent = true, noremap = true, desc = desc })
end
return M
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et