diff options
| author | jdhao <jdhao@hotmail.com> | 2021-08-08 22:04:56 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-08-08 22:04:56 +0800 |
| commit | 1ead4f782453ff275b74e62faee499edec0dc04d (patch) | |
| tree | 17b59187ce739605d91876026a118880686fcadd /lua/plugins.lua | |
| parent | ac4bb6c162d708d407f2769f8188bf1b5a19a681 (diff) | |
Change plugin load condition
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 315bff0..ab04149 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -58,13 +58,13 @@ require('packer').startup( use 'justinmk/vim-sneak' -- Clear highlight search automatically for you - use 'romainl/vim-cool' + use {'romainl/vim-cool', event = 'CmdlineEnter'} -- Show current search term in different color - use 'PeterRincker/vim-searchlight' + use {'PeterRincker/vim-searchlight', event = 'CmdlineEnter'} -- Show match number for incsearch - use 'osyo-manga/vim-anzu' + use {'osyo-manga/vim-anzu', event = 'CmdlineEnter'} -- Stay after pressing * and search selected text use 'haya14busa/vim-asterisk' |
