nvchad/lua/mappings.lua

14 lines
297 B
Lua
Raw Normal View History

2024-03-09 11:03:44 -05:00
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" })