home/dot_config/nvim/lua/common.lua
2021-06-01 12:45:47 +02:00

13 lines
280 B
Lua

local vim = vim
local M = {}
function M.set_keymap(mode, from, to)
local opts = {noremap = true, silent = false}
vim.api.nvim_set_keymap(mode, from, to, opts)
end
function M.nvim_set_keymap(mode, from, to, opts)
vim.api.nvim_set_keymap(mode, from, to, opts)
end
return M