diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-06-18 23:02:36 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-06-20 16:19:16 -0400 |
commit | ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906 (patch) | |
tree | 4e5b077dfb7fef21171b722a7be7548c2fb97a7a /runtime/doc/options.txt | |
parent | 6cfe98c66e1f891497b2bf5aaba8c750d3037703 (diff) | |
download | rneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.tar.gz rneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.tar.bz2 rneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.zip |
defaults: enable 'incsearch' by default. #2858
This also updates the documentation about 'incsearch'.
Re: https://github.com/neovim/neovim/issues/2676
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 250050bb78..9ea14af197 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3785,10 +3785,8 @@ A jump table for the options with a short description can be found at |Q_op|. evaluating 'includeexpr' |textlock|. *'incsearch'* *'is'* *'noincsearch'* *'nois'* -'incsearch' 'is' boolean (default off) +'incsearch' 'is' boolean (default on) global - {not available when compiled without the - |+extra_search| features} While typing a search command, show where the pattern, as it was typed so far, matches. The matched string is highlighted. If the pattern is invalid or not found, nothing is shown. The screen will be updated @@ -3797,10 +3795,9 @@ A jump table for the options with a short description can be found at |Q_op|. original position when no match is found and when pressing <Esc>. You still need to finish the search command with <Enter> to move the cursor to the match. - When compiled with the |+reltime| feature Vim only searches for about - half a second. With a complicated pattern and/or a lot of text the - match may not be found. This is to avoid that Vim hangs while you - are typing the pattern. + Vim only searches for about half a second. With a complicated + pattern and/or a lot of text the match may not be found. This is to + avoid that Vim hangs while you are typing the pattern. The highlighting can be set with the 'i' flag in 'highlight'. See also: 'hlsearch'. CTRL-L can be used to add one character from after the current match |