diff --git a/lua/plugs.lua b/lua/plugs.lua
index 186f880..8b923e7 100644
--- a/lua/plugs.lua
+++ b/lua/plugs.lua
@@ -3,27 +3,16 @@ return {
'github/copilot.vim', -- github copilot
'vijaymarupudi/nvim-fzf', -- fzf
'lilydjwg/colorizer', -- 颜色识别
- 'terryma/vim-multiple-cursors', -- 多光标
require('plugs.coc'), -- coc
require('plugs.lualine'), -- lualine
require('plugs.nvimtree'), -- nvimtree
require('plugs.treesitter'), -- treesitter
- require('plugs.theme'),
+ require('plugs.theme'), -- theme
require("plugs.edit-plugs"),
require("plugs.hop"),
require("plugs.toggleterm")
- -- nerdtree
- -- {
- -- 'preservim/nerdtree',
- -- dependencies = {
- -- 'Xuyuanp/nerdtree-git-plugin',
- -- 'ryanoasis/vim-devicons',
- -- },
- -- cmd = 'NERDTreeToggle',
- -- },
-
}
diff --git a/lua/plugs/edit-plugs.lua b/lua/plugs/edit-plugs.lua
index de5ecd9..8e283d6 100644
--- a/lua/plugs/edit-plugs.lua
+++ b/lua/plugs/edit-plugs.lua
@@ -3,6 +3,9 @@ return {
-- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround',
'gcmt/wildfire.vim',
+
+ -- 多光标
+ 'terryma/vim-multiple-cursors',
},
{
--格式整理
@@ -19,6 +22,14 @@ return {
-- 括号箭头
'yaocccc/nvim-hlchunk',
-- 注释插件
- 'tpope/vim-commentary',
+ {
+ 'tpope/vim-commentary',
+ config = function ()
+ G.map({
+ {"n", "", ":Commentary", {noremap = true}},
+ {"v", "", ":Commentary", {noremap = true}},
+ })
+ end
+ }
},
}
diff --git a/lua/vscode.lua b/lua/vscode.lua
index e69de29..fc88687 100644
--- a/lua/vscode.lua
+++ b/lua/vscode.lua
@@ -0,0 +1,8 @@
+require'lazy'.setup({
+
+ require('plugs.coc'), -- coc
+ require("plugs.hop"),
+ require('plugs.edit-plugs'),
+
+ 'vijaymarupudi/nvim-fzf', -- fzf
+})