nvim config

This commit is contained in:
Felipe M 2024-01-31 11:26:31 +01:00
parent cdfac4d089
commit 9051320319
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
13 changed files with 399 additions and 0 deletions

View file

@ -0,0 +1,34 @@
---@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.lsp = {
n = {
["<leader>ts"] = {":Telescope lsp_document_symbols<CR>", "Find symbols in document"}
}
}
M.neogit = {
n = {
["<Leader>gs"] = {":Neogit<CR>", "Open Neogit"}
}
}
return M