runtime(nohlsearch): simplify mapping
Use <cmd> instead of <expr> with execute(...)[-1] closes: #15047 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
fbc37f138a
commit
aeca7176f3
@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2024 Jun 18
|
||||
*usr_05.txt* For Vim version 9.1. Last change: 2024 Jun 19
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -459,7 +459,7 @@ Automatically execute |:nohlsearch| after 'updatetime' or getting into |Insert|
|
||||
Thus assuming default updatetime, hlsearch would be suspended/turned off after
|
||||
4 seconds of idle time.
|
||||
|
||||
To disable the effect of the plugin after is has been loaded: >
|
||||
To disable the effect of the plugin after it has been loaded: >
|
||||
au! nohlsearch
|
||||
<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user