diff options
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 179cb1e..4671207 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -85,8 +85,13 @@ require("packer").startup({ -- Clear highlight search automatically for you use({"romainl/vim-cool", event = "VimEnter"}) - -- Show match number for search - use {'kevinhwang91/nvim-hlslens', branch = 'main', event = "VimEnter"} + -- Show match number and index for searching + use { + 'kevinhwang91/nvim-hlslens', + branch = 'main', + keys = {{'n', '*'}, {'n', '#'}, {'n', 'n'}, {'n', 'N'}}, + config = [[require('config.hlslens')]] + } -- Stay after pressing * and search selected text use({"haya14busa/vim-asterisk", event = 'VimEnter'}) |
