This commit is contained in:
2024-04-14 17:51:47 +02:00
parent 17ae767c72
commit cbbc8bfec7
10 changed files with 0 additions and 0 deletions

38
.old/mappings.lua Normal file
View File

@@ -0,0 +1,38 @@
---@type MappingsTable
local M = {}
M.general = {
n = {
[";"] = { ":", "enter command mode", opts = { nowait = true } },
-- format with conform
["<leader>fm"] = {
function()
require("conform").format()
end,
"formatting",
}
},
v = {
[">"] = { ">gv", "indent"},
},
}
M.dap = {
plugin = true,
n = {
["<leader>db"] = {
"<cmd> DapToggleBreakpoint <CR>",
"Add breakpoint at line",
},
["<leader>dr"] = {
"<cmd> DapContinue <CR>",
"Start or continue the debugger",
}
}
}
-- more keybinds!
return M