diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-11 15:46:25 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-11 15:46:25 +0800 |
| commit | a4663390922b411895aa8c2e8a9c11e214e69d56 (patch) | |
| tree | 8a32a41114b2bf074939722c43f74bc54616b0b1 /lua/plugins.lua | |
| parent | 6fb30f0cf237f07a064a86f5c4e51162bf0ba0c2 (diff) | |
update nvim-hlslens settings
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'}) |
