nvim/lua/plugs/edit-plugs.lua
2023-11-27 18:11:11 +08:00

40 lines
629 B
Lua

return {
{
-- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround',
'gcmt/wildfire.vim',
-- 括号箭头
'yaocccc/nvim-hlchunk',
},
-- 多光标
{
'terryma/vim-multiple-cursors',
keys={"<c-n>", "<c-p>", "<c-x>"},
},
{
--格式整理
{
'junegunn/vim-easy-align',
config = function ()
G.map({
{"v", "ga", ":EasyAlign<CR>", {noremap = true}},
})
end
},
},
{
-- 注释插件
{
'tpope/vim-commentary',
}
},
{
'github/copilot.vim', -- github copilot
},
{
}
}