1
Fork 0
nixos-system-config/dotfiles/nvim/lua/util/map.lua

9 lines
190 B
Lua

return function(mode, key, mapping, comment)
local opts = {
noremap = true,
silent = true,
desc = comment
}
vim.keymap.set(mode, key, mapping, opts)
end