mirror of
https://github.com/eRgo35/neovim.git
synced 2026-02-04 05:46:10 +01:00
old move
This commit is contained in:
38
.old/mappings.lua
Normal file
38
.old/mappings.lua
Normal 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
|
||||
Reference in New Issue
Block a user