This commit is contained in:
2025-02-19 02:24:24 -08:00
parent 4f88084419
commit 611be5f360
22 changed files with 1033 additions and 428 deletions

View File

@@ -0,0 +1,12 @@
local M = {}
local map = vim.keymap.set
local opts = { noremap = true, silent = true }
function M.set_keybindings(bindings)
for _, binding in ipairs(bindings) do
map(binding.mode, binding.key, binding.cmd, binding.opts or opts)
end
return bindings
end
return M