aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-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 2e584ea9bb..6a36202177 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3306,8 +3306,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