neodot/.config/nvim/lua/custom/mappings.lua
2024-01-23 11:22:56 -05:00

25 lines
352 B
Lua

---@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"},
},
}
-- more keybinds!
return M