From e0c4b9d8d98c12b2cd1f68e88866d0a0acde8c82 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 9 Aug 2021 22:53:53 +0800 Subject: [PATCH] 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. --- lua/plugins.lua | 4 ++-- 1 file 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'