refactor: standardize keymap addition with add_keymap helper
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user