refactor: standardize keymap addition with add_keymap helper

This commit is contained in:
2024-08-24 16:31:05 -04:00
parent 85a47efa31
commit ab91798473
+2 -2
View File
@@ -31,13 +31,13 @@ add_keymap(
"x" "x"
) )
wk.add({ -- Exit Neovim
add_keymap({
lhs = "<leader>Cq", lhs = "<leader>Cq",
rhs = function() rhs = function()
data.func.exit() data.func.exit()
end, end,
desc = "Exit Neovim", desc = "Exit Neovim",
mode = all_modes,
}) })
-- Group Keybinds -- Group Keybinds