nvim config
This commit is contained in:
parent
cdfac4d089
commit
9051320319
13 changed files with 399 additions and 0 deletions
34
.dotfiles/nvchad/custom/mappings.lua
Normal file
34
.dotfiles/nvchad/custom/mappings.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue