neodot/.config/nvim/lua/custom/mappings.lua

25 lines
352 B
Lua
Raw Normal View History

2024-01-23 16:22:56 +00:00
---@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