add starter config files

This commit is contained in:
siduck 2024-03-09 21:33:44 +05:30
parent 45a1b2c9a8
commit aa13916e94
7 changed files with 133 additions and 0 deletions

13
lua/mappings.lua Normal file
View file

@ -0,0 +1,13 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("n", "<leader>fm", function()
require("conform").format()
end, { desc = "File Format with conform" })
map("i", "jk", "<ESC>", { desc = "Escape insert mode" })