diff --git a/.config/nvim/lua/plugins/block.lua b/.config/nvim/lua/plugins/block.lua index 902583fb..20fda96e 100644 --- a/.config/nvim/lua/plugins/block.lua +++ b/.config/nvim/lua/plugins/block.lua @@ -1,7 +1,7 @@ return { { "HampusHauffman/block.nvim", - keys = { { "ub", "Block", desc = "Toggle Block" } }, + keys = { { "uB", "Block", desc = "Toggle Block" } }, opts = { percent = 0.9, depth = 4, diff --git a/.config/nvim/lua/plugins/dial.lua b/.config/nvim/lua/plugins/dial.lua index 658d5c51..d7269f90 100644 --- a/.config/nvim/lua/plugins/dial.lua +++ b/.config/nvim/lua/plugins/dial.lua @@ -1,35 +1,24 @@ return { - { - "monaqa/dial.nvim", - config = function() - local augend = require("dial.augend") - - require("dial.config").augends:register_group({ - default = { - augend.integer.alias.decimal, -- 100 - augend.integer.alias.hex, -- 0xAB - augend.date.alias["%Y/%m/%d"], -- 2020/01/01 - augend.date.alias["%Y-%m-%d"], -- 2020-01-01 - augend.constant.alias.bool, -- true - augend.semver.alias.semver, -- 1.0.1 - augend.date.alias["%m/%d"], -- 12/01 - augend.date.alias["%H:%M"], -- 14:30 - -- typescript specific keywords below - augend.constant.new({ elements = { "asc", "desc" }, word = true, cyclic = true }), - augend.constant.new({ elements = { "let", "const" }, word = true, cyclic = true }), - augend.constant.new({ - elements = { "debug", "info", "notice", "warning", "error", "crit", "alert", "emerg" }, - word = true, - cyclic = true, - }), - augend.constant.new({ elements = { "forEach", "map" }, word = true, cyclic = true }), - }, - }) + { + "monaqa/dial.nvim", + config = true, + keys = { + { + "", + function() + return require("dial.map").inc_normal() end, - -- stylua: ignore - keys = { - { "", function() return require("dial.map").inc_normal() end, expr = true, desc = "Increment" }, - { "", function() return require("dial.map").dec_normal() end, expr = true, desc = "Decrement" }, - }, + expr = true, + desc = "Increment", + }, + { + "", + function() + return require("dial.map").dec_normal() + end, + expr = true, + desc = "Decrement", + }, }, + }, } diff --git a/.config/nvim/lua/plugins/persistent-breakpoints.lua b/.config/nvim/lua/plugins/persistent-breakpoints.lua index b6c5b6a0..e458b663 100644 --- a/.config/nvim/lua/plugins/persistent-breakpoints.lua +++ b/.config/nvim/lua/plugins/persistent-breakpoints.lua @@ -3,9 +3,9 @@ return { "Weissle/persistent-breakpoints.nvim", event = "BufReadPost", keys = { - { "dbd", "PBClearAllBreakpoints", desc = "Delete All Breakpoints" }, - { "dbc", "PBSetConditionalBreakpoint", desc = "Set Conditional Breakpoint" }, - { "dbb", "PBToggleBreakpoint", desc = "Toggle Breakpoint" }, + { "dd", "PBClearAllBreakpoints", desc = "Delete All Breakpoints" }, + { "dB", "PBSetConditionalBreakpoint", desc = "Breakpoint Condition" }, + { "db", "PBToggleBreakpoint", desc = "Toggle Breakpoint" }, }, opts = { load_breakpoints_event = { "BufReadPost" },