Skip to content

Commit

Permalink
Revert "perf(plugins): move 'hop.nvim' to user plugins (#289)"
Browse files Browse the repository at this point in the history
This reverts commit 37491dd.
  • Loading branch information
linrongbin16 committed Oct 17, 2023
1 parent 37491dd commit 9f77328
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 8 additions & 0 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,14 @@ 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",
Expand Down
12 changes: 2 additions & 10 deletions lua/plugins/users_sample.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@
--
-- -- 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" },
Expand Down Expand Up @@ -95,14 +88,13 @@
-- 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",
Expand Down

0 comments on commit 9f77328

Please sign in to comment.