use 0.7 keymappings

This commit is contained in:
2022-04-20 15:14:11 +02:00
parent 8a000f811c
commit d7b49c4c4b
8 changed files with 49 additions and 60 deletions

View File

@ -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