From 37491dd6f914041b7345f19dfdf08af08c2cb3b1 Mon Sep 17 00:00:00 2001 From: linrongbin16 Date: Tue, 17 Oct 2023 13:29:08 +0800 Subject: [PATCH] perf(plugins): move 'hop.nvim' to user plugins (#289) --- lua/plugins/init.lua | 8 -------- lua/plugins/users_sample.lua | 12 ++++++++++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 1760cd6c..4da4c0ab 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -371,14 +371,6 @@ local M = { event = { VeryLazy, BufReadPre, BufNewFile }, config = lua_config("numToStr/Comment.nvim"), }, - -- Cursor motion - { - "smoka7/hop.nvim", - event = { VeryLazy, BufReadPre, BufNewFile, CmdlineEnter }, - version = "*", - config = lua_config("smoka7/hop.nvim"), - keys = lua_keys("smoka7/hop.nvim"), - }, -- Surround { "kylechui/nvim-surround", diff --git a/lua/plugins/users_sample.lua b/lua/plugins/users_sample.lua index a70840c9..22159ef3 100644 --- a/lua/plugins/users_sample.lua +++ b/lua/plugins/users_sample.lua @@ -33,6 +33,13 @@ -- -- -- Cursor motion -- { +-- "smoka7/hop.nvim", +-- event = { VeryLazy, BufReadPre, BufNewFile, CmdlineEnter }, +-- version = "*", +-- config = lua_config("smoka7/hop.nvim"), +-- keys = lua_keys("smoka7/hop.nvim"), +-- }, +-- { -- "ggandor/leap.nvim", -- event = { VeryLazy, BufReadPre, BufNewFile }, -- dependencies = { "tpope/vim-repeat" }, @@ -88,13 +95,14 @@ -- config = lua_config("Pocco81/auto-save.nvim"), -- keys = lua_keys("Pocco81/auto-save.nvim"), -- }, --- Terminal({ +-- -- Terminal +-- { -- "akinsho/toggleterm.nvim", -- version = "*", -- event = { VeryLazy, CmdlineEnter }, -- config = lua_config("akinsho/toggleterm.nvim"), -- keys = lua_keys("akinsho/toggleterm.nvim"), --- }), +-- }, -- -- Generate documents -- { -- "danymat/neogen",