Skip to content

Commit

Permalink
disable vscode plugins for now
Browse files Browse the repository at this point in the history
  • Loading branch information
heypoom committed Nov 18, 2024
1 parent 9aa3b74 commit 612cf3f
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 104 deletions.
192 changes: 96 additions & 96 deletions config/dot_config/vscode-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
{
"<c-s>",
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" }, "<C-d>", 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",
-- },
-- {
-- "<c-s>",
-- 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" }, "<C-d>", 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
Expand Down
17 changes: 9 additions & 8 deletions config/dot_config/vscode-nvim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -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" }
}
"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" }
}

0 comments on commit 612cf3f

Please sign in to comment.