feat(nvim): add vmap for visual mode mappings

This commit is contained in:
Oliver Davies 2022-04-05 09:32:47 +01:00
parent 96a532a501
commit 5a3fab8f53

View file

@ -12,4 +12,8 @@ M.nmap = function(tbl)
vim.keymap.set("n", tbl[1], tbl[2], tbl[3])
end
M.vmap = function(tbl)
vim.keymap.set("v", tbl[1], tbl[2], tbl[3])
end
return M