47 lines
861 B
Lua
47 lines
861 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
|
|
},
|
|
{
|
|
'windwp/nvim-autopairs',
|
|
event = "InsertEnter",
|
|
opts = {},-- this is equalent to setup({}) function
|
|
config = function ()
|
|
require('nvim-autopairs').setup({
|
|
disable_filetype = { "vim" },
|
|
})
|
|
end
|
|
},
|
|
}
|