Fixed dial bindings to be functions
This commit is contained in:
parent
510e2215aa
commit
2fd5f4e076
|
@ -13,13 +13,13 @@ return {
|
|||
["K"] = {require("hover").hover, desc = "Show hover.nvim popup"},
|
||||
["<C-B>"] = {":Telescope buffers<CR>", desc = "Show Telescope for open buffers"},
|
||||
["<C-P>"] = {":Telescope registers<CR>", desc = "Show Telescope for register paste"},
|
||||
["<C-A>"] = {dial.manipulate("increment", "normal"), desc = "Increment number"},
|
||||
["<C-Y>"] = {dial.manipulate("decrement", "normal"), desc = "Decrement number"},
|
||||
["<C-A>"] = {function () dial.manipulate("increment", "normal") end, desc = "Increment number"},
|
||||
["<C-Y>"] = {function () dial.manipulate("decrement", "normal") end, desc = "Decrement number"},
|
||||
["<C-X>"] = {false, desc = "Decrement number (unused)"}
|
||||
},
|
||||
v = {
|
||||
["<C-A>"] = {dial.manipulate("increment", "visual"), desc = "Increment number"},
|
||||
["<C-Y>"] = {dial.manipulate("decrement", "visual"), desc = "Decrement number"},
|
||||
["<C-A>"] = {function () require("dial.map").manipulate("increment", "visual") end, desc = "Increment number"},
|
||||
["<C-Y>"] = {function () require("dial.map").manipulate("decrement", "visual") end, desc = "Decrement number"},
|
||||
["<C-X>"] = {false, desc = "Decrement number (unused)"}
|
||||
},
|
||||
i = {
|
||||
|
|
Loading…
Reference in New Issue