diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 4da4c0ab..1760cd6c 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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", diff --git a/lua/plugins/users_sample.lua b/lua/plugins/users_sample.lua index 22159ef3..a70840c9 100644 --- a/lua/plugins/users_sample.lua +++ b/lua/plugins/users_sample.lua @@ -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" }, @@ -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",