Add easyalign
This commit is contained in:
@@ -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 })
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"junegunn/vim-easy-align",
|
||||
lazy = false, -- Load the plugin immediately
|
||||
keys = {
|
||||
-- Custom keymappings for easy-align
|
||||
{ "ga", "<Plug>(EasyAlign)", mode = { "n", "x" }, desc = "Easy Align" }
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"charludo/projectmgr.nvim",
|
||||
lazy = false, -- Required for proper functionality
|
||||
lazy = false,
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user