You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
218 B
Lua
6 lines
218 B
Lua
3 years ago
|
function MapKey(mode, keybind, command, opts)
|
||
|
local options = {noremap = true}
|
||
|
if opts then options = vim.tbl_extend('force', options, opts) end
|
||
|
vim.api.nvim_set_keymap(mode, keybind, command, options)
|
||
|
end
|