Christian wrote:
> On So, 13 Mai 2018, Bram Moolenaar wrote:
> > I mentioned in another thread: I split this into two entries, one for
> > CTRL-P and one for <S-Tab>. They are actually more different, using one
> > entry is confusing.
>
> I still think it is useful to mention, that this undoes the completion,
> as this is not entirely obvious to the reader. So please include the
> following update to the documentation:
>
> diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
> index d7a026143..fd8507fc3 100644
> --- a/runtime/doc/cmdline.txt
> +++ b/runtime/doc/cmdline.txt
> @@ -421,8 +421,11 @@ CTRL-N After using 'wildchar' which got
> multiple matches, go to next
> match. Otherwise recall more recent command-line from
> history.
> *c_CTRL-P*
> CTRL-P After using 'wildchar' which got multiple matches, go to
> - previous match. Otherwise recall older command-line from
> - history.
> + previous match. After the first match undoes the last
> + completion and leaves the cursor at the previously entered
> + text. This is useful to change what will be completed.
> + Otherwise recall older command-line from history.
> +
> *c_CTRL-A*
> CTRL-A All names that match the pattern in front of the cursor are
> inserted.
Well, this also applies to <S-Tab>. And if you type CTRL-P enough times
you also get back to where you started. Let's add a remark below:
When repeating 'wildchar' or CTRL-N you cycle through the matches, eventually
ending up back to what was typed. If the first match is not what you wanted,
you can use <S-Tab> or CTRL-P to go straight back to what you typed.
--
It is illegal for anyone to give lighted cigars to dogs, cats, and other
domesticated animal kept as pets.
[real standing law in Illinois, United States of America]
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.