Skip to content

Commit

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

0 comments on commit 3fbd1b2

Please sign in to comment.