summaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-02 19:08:48 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-02 19:08:48 +0100
commitf8f8b2eadbaf3090fcfccbab560de5dbd501833d (patch)
treedeea6b6bfa04bfbe4dc78fc541e590aa65f583ac /runtime/doc/options.txt
parentc20e0d52071a3f6e12321ec3344024faa4695da9 (diff)
downloadvim-git-f8f8b2eadbaf3090fcfccbab560de5dbd501833d.tar.gz
patch 8.0.1250: 'hlsearch' highlighting not removed after incsearchv8.0.1250
Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill) Solution: Redraw all windows. Start search at the end of the match. Improve how CTRL-G works with incremental search. Add tests. (Christian Brabandt, Hirohito Higashi, haya14busa, closes #2267)
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 181aa94b2..c3b5ab801 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4454,8 +4454,8 @@ A jump table for the options with a short description can be found at |Q_op|.
Example: >
augroup vimrc-incsearch-highlight
autocmd!
- autocmd CmdlineEnter [/\?] :set hlsearch
- autocmd CmdlineLeave [/\?] :set nohlsearch
+ autocmd CmdlineEnter /,\? :set hlsearch
+ autocmd CmdlineLeave /,\? :set nohlsearch
augroup END
<
CTRL-L can be used to add one character from after the current match