From 612cf3f07045630edeccd2f432d05334698b9bb0 Mon Sep 17 00:00:00 2001 From: Phoomparin Mano Date: Mon, 18 Nov 2024 22:05:41 +0700 Subject: [PATCH] disable vscode plugins for now --- config/dot_config/vscode-nvim/init.lua | 192 +++++++++---------- config/dot_config/vscode-nvim/lazy-lock.json | 17 +- 2 files changed, 105 insertions(+), 104 deletions(-) diff --git a/config/dot_config/vscode-nvim/init.lua b/config/dot_config/vscode-nvim/init.lua index ad58014..64bd4c0 100644 --- a/config/dot_config/vscode-nvim/init.lua +++ b/config/dot_config/vscode-nvim/init.lua @@ -19,102 +19,102 @@ vim.g.mapleader = " " -- setup lazy require("lazy").setup({ - -- Matchup - { - "andymass/vim-matchup", - lazy = false, - setup = function() - vim.g.matchup_matchparen_offscreen = { method = "popup" } - end, - }, - - -- WhichKey - "folke/which-key.nvim", - - -- NeoConf - { "folke/neoconf.nvim", cmd = "Neoconf" }, - - -- NeoDev - "folke/neodev.nvim", - - -- Flash - { - "folke/flash.nvim", - event = "VeryLazy", - opts = {}, - keys = { - { - "s", - mode = { "n", "x", "o" }, - function() - require("flash").jump() - end, - desc = "Flash", - }, - { - "S", - mode = { "n", "x", "o" }, - function() - require("flash").treesitter() - end, - desc = "Flash Treesitter", - }, - { - "r", - mode = "o", - function() - require("flash").remote() - end, - desc = "Remote Flash", - }, - { - "R", - mode = { "o", "x" }, - function() - require("flash").treesitter_search() - end, - desc = "Treesitter Search", - }, - { - "", - mode = { "c" }, - function() - require("flash").toggle() - end, - desc = "Toggle Flash Search", - }, - }, - }, - - -- Multi Cursor - { - "vscode-neovim/vscode-multi-cursor.nvim", - event = "VeryLazy", - cond = not not vim.g.vscode, - config = function() - -- setup vscode multi cursor - local C = require("vscode-multi-cursor") - - C.setup({ - default_mappings = true, - no_selection = false, - }) - - vim.keymap.set({ "n", "x", "i" }, "", function() - C.addSelectionToNextFindMatch() - end) - end, - }, - - -- Surround - { - "kylechui/nvim-surround", - version = "*", -- Use for stability; omit to use `main` branch for the latest features - event = "VeryLazy", - config = function() - require("nvim-surround").setup({}) - end, - }, + -- -- Matchup + -- { + -- "andymass/vim-matchup", + -- lazy = false, + -- setup = function() + -- vim.g.matchup_matchparen_offscreen = { method = "popup" } + -- end, + -- }, + -- + -- -- WhichKey + -- "folke/which-key.nvim", + -- + -- -- NeoConf + -- { "folke/neoconf.nvim", cmd = "Neoconf" }, + -- + -- -- NeoDev + -- "folke/neodev.nvim", + -- + -- -- Flash + -- { + -- "folke/flash.nvim", + -- event = "VeryLazy", + -- opts = {}, + -- keys = { + -- { + -- "s", + -- mode = { "n", "x", "o" }, + -- function() + -- require("flash").jump() + -- end, + -- desc = "Flash", + -- }, + -- { + -- "S", + -- mode = { "n", "x", "o" }, + -- function() + -- require("flash").treesitter() + -- end, + -- desc = "Flash Treesitter", + -- }, + -- { + -- "r", + -- mode = "o", + -- function() + -- require("flash").remote() + -- end, + -- desc = "Remote Flash", + -- }, + -- { + -- "R", + -- mode = { "o", "x" }, + -- function() + -- require("flash").treesitter_search() + -- end, + -- desc = "Treesitter Search", + -- }, + -- { + -- "", + -- mode = { "c" }, + -- function() + -- require("flash").toggle() + -- end, + -- desc = "Toggle Flash Search", + -- }, + -- }, + -- }, + -- + -- -- Multi Cursor + -- { + -- "vscode-neovim/vscode-multi-cursor.nvim", + -- event = "VeryLazy", + -- cond = not not vim.g.vscode, + -- config = function() + -- -- setup vscode multi cursor + -- local C = require("vscode-multi-cursor") + -- + -- C.setup({ + -- default_mappings = true, + -- no_selection = false, + -- }) + -- + -- vim.keymap.set({ "n", "x", "i" }, "", function() + -- C.addSelectionToNextFindMatch() + -- end) + -- end, + -- }, + -- + -- -- Surround + -- { + -- "kylechui/nvim-surround", + -- version = "*", -- Use for stability; omit to use `main` branch for the latest features + -- event = "VeryLazy", + -- config = function() + -- require("nvim-surround").setup({}) + -- end, + -- }, }) -- setup unnamed clipboard diff --git a/config/dot_config/vscode-nvim/lazy-lock.json b/config/dot_config/vscode-nvim/lazy-lock.json index cb00995..bca4507 100644 --- a/config/dot_config/vscode-nvim/lazy-lock.json +++ b/config/dot_config/vscode-nvim/lazy-lock.json @@ -1,9 +1,10 @@ { - "flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" }, - "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, - "neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" }, - "neodev.nvim": { "branch": "main", "commit": "1676d2c24186fc30005317e0306d20c639b2351b" }, - "nvim-surround": { "branch": "main", "commit": "703ec63aa798e5e07d309b35e42def34bebe0174" }, - "vim-matchup": { "branch": "master", "commit": "e2cca1747ab175b8d839a5d28679427564643a57" }, - "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" } -} \ No newline at end of file + "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, + "lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" }, + "neoconf.nvim": { "branch": "main", "commit": "610d93be4902db0fbf0fb5f79d59d9e06aed929b" }, + "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, + "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, + "vim-matchup": { "branch": "master", "commit": "5fb083de1e06fdd134c6ad8d007d4b5576b25ba7" }, + "vscode-multi-cursor.nvim": { "branch": "main", "commit": "210d64a6d190383a81b8dcdf8779d357006f3a69" }, + "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" } +}