aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-09 22:53:53 +0800
committerjdhao <jdhao@hotmail.com>2021-08-09 22:53:53 +0800
commite0c4b9d8d98c12b2cd1f68e88866d0a0acde8c82 (patch)
treef7dc909da54cad51b68061a773f42f513299d307 /lua/plugins.lua
parent08d3768e40abd692c0d04566b829cec1392bbd59 (diff)
update vim-anzu and vim-cool settings
We shouldn't set them as opt, otherwise *, and n , N etc. do not work in normal mode, unless we activate them on CmdlineEnter events.
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 126c0d2..576a321 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', event = 'CmdlineEnter'}
+ use 'romainl/vim-cool'
-- Show current search term in different color
use 'PeterRincker/vim-searchlight'
-- Show match number for incsearch
- use {'osyo-manga/vim-anzu', event = 'CmdlineEnter'}
+ use 'osyo-manga/vim-anzu'
-- Stay after pressing * and search selected text
use 'haya14busa/vim-asterisk'