This commit is contained in:
newbieQQ 2023-11-18 23:21:18 +08:00
parent 5413e8323f
commit 722bf63839
3 changed files with 21 additions and 13 deletions

View File

@ -3,27 +3,16 @@ return {
'github/copilot.vim', -- github copilot 'github/copilot.vim', -- github copilot
'vijaymarupudi/nvim-fzf', -- fzf 'vijaymarupudi/nvim-fzf', -- fzf
'lilydjwg/colorizer', -- 颜色识别 'lilydjwg/colorizer', -- 颜色识别
'terryma/vim-multiple-cursors', -- 多光标
require('plugs.coc'), -- coc require('plugs.coc'), -- coc
require('plugs.lualine'), -- lualine require('plugs.lualine'), -- lualine
require('plugs.nvimtree'), -- nvimtree require('plugs.nvimtree'), -- nvimtree
require('plugs.treesitter'), -- treesitter require('plugs.treesitter'), -- treesitter
require('plugs.theme'), require('plugs.theme'), -- theme
require("plugs.edit-plugs"), require("plugs.edit-plugs"),
require("plugs.hop"), require("plugs.hop"),
require("plugs.toggleterm") require("plugs.toggleterm")
-- nerdtree
-- {
-- 'preservim/nerdtree',
-- dependencies = {
-- 'Xuyuanp/nerdtree-git-plugin',
-- 'ryanoasis/vim-devicons',
-- },
-- cmd = 'NERDTreeToggle',
-- },
} }

View File

@ -3,6 +3,9 @@ return {
-- surround 和 wildfire 配合有神奇的效果 -- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround', 'tpope/vim-surround',
'gcmt/wildfire.vim', 'gcmt/wildfire.vim',
-- 多光标
'terryma/vim-multiple-cursors',
}, },
{ {
--格式整理 --格式整理
@ -19,6 +22,14 @@ return {
-- 括号箭头 -- 括号箭头
'yaocccc/nvim-hlchunk', 'yaocccc/nvim-hlchunk',
-- 注释插件 -- 注释插件
'tpope/vim-commentary', {
'tpope/vim-commentary',
config = function ()
G.map({
{"n", "<c-/>", ":Commentary<CR>", {noremap = true}},
{"v", "<c-/>", ":Commentary<CR>", {noremap = true}},
})
end
}
}, },
} }

View File

@ -0,0 +1,8 @@
require'lazy'.setup({
require('plugs.coc'), -- coc
require("plugs.hop"),
require('plugs.edit-plugs'),
'vijaymarupudi/nvim-fzf', -- fzf
})