Am 27.08.2016 um 13:35 schrieb Bram Moolenaar:

Urtica Dioica wrote:

I do like the idea for the feature. I tried it, it has some bugs, but
they'll get ironed out eventually.

But I've gotta ask, does no one else use search command line history?
The new bindings override the old forward/backward command history
bindings (and that are still used by the other command lines). The
only way to access search history now is with the command line window
(<C-F>).

Is that the plan? I won't fight the decision, but I will say I'm not
happy losing the old (useful) bindings.

Hmm, I thought that the keys were unused in this mode.  But you are
right, they were used for command line history.

Looking for other keys, there are not so many available:
        CTRL-@
        CTRL-G
        CTRL-O
        CTRL-T
        CTRL-X

Note that CTRL-T already has a meaning of going to an older tag stack
entry.  So using it for "previous" makes some sense.
On the other hand, CTRL-O hints at Older.

Note that while searching for this the new CTRL-N and CTRL-P were
actually useful.

Taking up two more characters for this means there is hardly any left.
But there isn't much choice.  Adding an option to change the behavior is
not nice either.

So how about this:  Use CTRL-T for going up, like what CTRL-P did, and
use CTRL-G for going down, what CTRL-N did.  On a regular keyboard the T
is above the G, so that's the hint for the user.

What about a sub-mode started with CTRL-X where you can use `n' and `N'?

In Insert mode there is already such a mode for scrolling:
   i_CTRL-X_CTRL-E
then, CTRL-E / CTRL-Y can be used to scroll down/up.

This could even be used (later) to scroll the window while in Cmdline mode.

--
Andy

--
--
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.

Raspunde prin e-mail lui