1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 10:24:47 +01:00

NVIM: Keymap layout is now Lazy-centric

This commit is contained in:
2026-03-26 07:01:33 +01:00
parent 0f06cc10c8
commit 3c3cfd333d
43 changed files with 886 additions and 934 deletions

View File

@@ -1,9 +1,27 @@
return {
-- improves vims increment and decrement functions
"monaqa/dial.nvim",
keys = {
{
"<C-a>",
function()
require("dial.map").manipulate("increment", "normal")
end,
silent = true,
desc = "Increment value",
},
{
"<C-x>",
function()
require("dial.map").manipulate("decrement", "normal")
end,
silent = true,
desc = "Decrement value",
},
},
config = function()
local augend = require("dial.augend")
require("dial.config").augends:register_group{
require("dial.config").augends:register_group({
default = {
augend.integer.alias.decimal,
augend.integer.alias.hex,
@@ -19,6 +37,6 @@ return {
augend.constant.alias.en_weekday,
augend.constant.alias.en_weekday_full,
},
}
end
})
end,
}