aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-06-25 11:01:16 -0400
committerJames McCoy <jamessan@jamessan.com>2017-06-26 22:08:11 -0400
commit0dd64556590633b2cab7cd846b28bbf5f7ef35d4 (patch)
treed66d8aa538c4bb929f55b0633a2e3a5b89e5db87 /runtime
parent518b42db916ccbb9057ca9361b48e83ea65bc3b9 (diff)
downloadrneovim-0dd64556590633b2cab7cd846b28bbf5f7ef35d4.tar.gz
rneovim-0dd64556590633b2cab7cd846b28bbf5f7ef35d4.tar.bz2
rneovim-0dd64556590633b2cab7cd846b28bbf5f7ef35d4.zip
vim-patch:7.4.2268
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. Solution: Use CTRL-T and CTRL-G instead. https://github.com/vim/vim/commit/1195669f9e434fa9ab8b57ee9470bf951e4990b8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt21
1 files changed, 13 insertions, 8 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index ef8f4bc317..d870a72600 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -376,18 +376,10 @@ CTRL-D List names that match the pattern in front of the cursor.
*c_CTRL-N*
CTRL-N After using 'wildchar' which got multiple matches, go to next
match. Otherwise recall more recent command-line from history.
- */_CTRL-N*
- When 'incsearch' is set, entering a search pattern for "/" or
- "?" and the current match is displayed then CTRL-N will move
- to the next match (does not take |search-offset| into account)
<S-Tab> *c_CTRL-P* *c_<S-Tab>*
CTRL-P After using 'wildchar' which got multiple matches, go to
previous match. Otherwise recall older command-line from
history. <S-Tab> only works with the GUI.
- */_CTRL-P*
- When 'incsearch' is set, entering a search pattern for "/" or
- "?" and the current match is displayed then CTRL-P will move
- to the previous match (does not take |search-offset| into account).
*c_CTRL-A*
CTRL-A All names that match the pattern in front of the cursor are
inserted.
@@ -404,6 +396,19 @@ CTRL-L A match is done on the pattern in front of the cursor. If
'ignorecase' and 'smartcase' are set and the command line has
no uppercase characters, the added character is converted to
lowercase.
+ *c_CTRL-G* */_CTRL-G*
+CTRL-G When 'incsearch' is set, entering a search pattern for "/" or
+ "?" and the current match is displayed then CTRL-G will move
+ to the next match (does not take |search-offset| into account)
+ Use CTRL-T to move to the previous match. Hint: on a regular
+ keyboard T is above G.
+ *c_CTRL-T* */_CTRL-T*
+CTRL-T When 'incsearch' is set, entering a search pattern for "/" or
+ "?" and the current match is displayed then CTRL-T will move
+ to the previous match (does not take |search-offset| into
+ account).
+ Use CTRL-G to move to the next match. Hint: on a regular
+ keyboard T is above G.
The 'wildchar' option defaults to <Tab> (CTRL-E when in Vi compatible mode; in
a previous version <Esc> was used). In the pattern standard wildcards '*' and