blob: 14c6e6287b9a658e26518d0e04f2f74396c09319 (
plain)
1
2
3
4
5
6
7
8
9
|
local M = {}
function M.map(mode, lhs, rhs, opts)
local options = {noremap = true}
if opts then options = vim.tbl_extend("force", options, opts) end
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
return M
|