DOTFILES/dot_config/nvim/lua/custom/mappings.lua

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