use 0.7 keymappings
This commit is contained in:
@ -9,12 +9,4 @@ function utils.opt(scope, key, value)
|
||||
end
|
||||
end
|
||||
|
||||
function utils.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 utils
|
||||
|
Reference in New Issue
Block a user