This commit is contained in:
QQ 2023-10-08 23:27:05 +08:00
parent 10cda71a9d
commit 3b6c8ee310
4 changed files with 34 additions and 38 deletions

View File

@ -50,10 +50,6 @@ G.map({
})
--EasyAlign
G.map({
{"v", "ga", ":EasyAlign<CR>", opt},
})

View File

@ -49,5 +49,12 @@ G.api.nvim_create_autocmd({ "BufEnter" }, {
end,
})
-- G.au({
-- {"CmdlineEnter"},
-- {
-- if index
-- }
-- })

View File

@ -1,42 +1,9 @@
return {
-- 括号箭头
'yaocccc/nvim-hlchunk',
-- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround',
'gcmt/wildfire.vim',
-- 格式整理
'junegunn/vim-easy-align',
'tpope/vim-commentary',
-- 多光标
'terryma/vim-multiple-cursors',
-- 项目管理 {
-- 'Shatur/neovim-session-manager',
-- dependencies = {
-- 'nvim-lua/plenary.nvim'
-- }
-- },
--{
-- 'glepnir/dashboard-nvim',
-- event = 'VimEnter',
-- config = function()
-- require('dashboard').setup {
-- config
-- }
-- end,
-- dependencies = { {'nvim-tree/nvim-web-devicons'}}
-- }
-- lsp 补全以及语法高亮
-- {'neoclide/coc.nvim', branch = 'release'},
require("normal.plugsettings.edit-plugs.lua"),
}

View File

@ -0,0 +1,26 @@
return {
{
-- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround',
'gcmt/wildfire.vim',
},
{
--格式整理
{
'junegunn/vim-easy-align',
cmd = "EasyAlign",
config = function ()
G.map({
{"v", "ga", ":EasyAlign<CR>", {noremap = true}},
})
end
},
{
-- 括号箭头
'yaocccc/nvim-hlchunk',
-- 注释插件
'tpope/vim-commentary',
}
}
}