Add easyalign

This commit is contained in:
2024-11-22 08:39:59 +01:00
parent f0bc3e37df
commit 2724b2ac2a
3 changed files with 23 additions and 14 deletions

View File

@@ -1,10 +1,10 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
-- Easy-align mappings
map("x", "ga", "<Plug>(EasyAlign)", { silent = true })
map("n", "ga", "<Plug>(EasyAlign)", { silent = true })