Mercurial > vim
comparison runtime/doc/cmdline.txt @ 9971:98b39d2eb895 v7.4.2259
commit https://github.com/vim/vim/commit/4d6f32cbfbaf324ac4a25c0206a5db0e9f7a48f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 26 19:13:46 2016 +0200
patch 7.4.2259
Problem: With 'incsearch' can only see the next match.
Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian
Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 26 Aug 2016 19:15:07 +0200 |
parents | aea5ebf352c4 |
children | 6a1793d9c895 |
comparison
equal
deleted
inserted
replaced
9970:c57383365947 | 9971:98b39d2eb895 |
---|---|
407 again (wrap around). | 407 again (wrap around). |
408 The behavior can be changed with the 'wildmode' option. | 408 The behavior can be changed with the 'wildmode' option. |
409 *c_CTRL-N* | 409 *c_CTRL-N* |
410 CTRL-N After using 'wildchar' which got multiple matches, go to next | 410 CTRL-N After using 'wildchar' which got multiple matches, go to next |
411 match. Otherwise recall more recent command-line from history. | 411 match. Otherwise recall more recent command-line from history. |
412 */_CTRL-N* | |
413 When 'incsearch' is set, entering a search pattern for "/" or | |
414 "?" and the current match is displayed then CTRL-N will move | |
415 to the next match (does not take |search-offset| into account) | |
412 <S-Tab> *c_CTRL-P* *c_<S-Tab>* | 416 <S-Tab> *c_CTRL-P* *c_<S-Tab>* |
413 CTRL-P After using 'wildchar' which got multiple matches, go to | 417 CTRL-P After using 'wildchar' which got multiple matches, go to |
414 previous match. Otherwise recall older command-line from | 418 previous match. Otherwise recall older command-line from |
415 history. <S-Tab> only works with the GUI, on the Amiga and | 419 history. <S-Tab> only works with the GUI, on the Amiga and |
416 with MS-DOS. | 420 with MS-DOS. |
421 */_CTRL-P* | |
422 When 'incsearch' is set, entering a search pattern for "/" or | |
423 "?" and the current match is displayed then CTRL-P will move | |
424 to the previous match (does not take |search-offset| into account). | |
417 *c_CTRL-A* | 425 *c_CTRL-A* |
418 CTRL-A All names that match the pattern in front of the cursor are | 426 CTRL-A All names that match the pattern in front of the cursor are |
419 inserted. | 427 inserted. |
420 *c_CTRL-L* | 428 *c_CTRL-L* |
421 CTRL-L A match is done on the pattern in front of the cursor. If | 429 CTRL-L A match is done on the pattern in front of the cursor. If |
422 there is one match, it is inserted in place of the pattern. | 430 there is one match, it is inserted in place of the pattern. |
423 If there are multiple matches the longest common part is | 431 If there are multiple matches the longest common part is |
424 inserted in place of the pattern. If the result is shorter | 432 inserted in place of the pattern. If the result is shorter |
425 than the pattern, no completion is done. | 433 than the pattern, no completion is done. |
434 */_CTRL-L* | |
426 When 'incsearch' is set, entering a search pattern for "/" or | 435 When 'incsearch' is set, entering a search pattern for "/" or |
427 "?" and the current match is displayed then CTRL-L will add | 436 "?" and the current match is displayed then CTRL-L will add |
428 one character from the end of the current match. If | 437 one character from the end of the current match. If |
429 'ignorecase' and 'smartcase' are set and the command line has | 438 'ignorecase' and 'smartcase' are set and the command line has |
430 no uppercase characters, the added character is converted to | 439 no uppercase characters, the added character is converted to |