-- Keymapping helper module -- local M = {} local function 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