2016-07-28 16:58 GMT+03:00 Bram Moolenaar <b...@moolenaar.net>:
>
> Martin Lundberg wrote:
>
>> On Tuesday, July 26, 2016 at 11:18:01 PM UTC+2, Bram Moolenaar wrote:
>> > " Don't use Ex mode, use Q for formatting
>> > map Q gq
>>
>> What's the reason for doing this change when the new mapping has just
>> as much key presses? For me it actually feels like it's slower than gq
>> since I need to involve and move both hands.
>>
>> I can see in the help for gq that Q actually did gq before which could
>> be a reason to change it back but I guess there was a reason for
>> changing it to gq too?
>
> It's an old alias for formatting.  "Q" was made Posix compatible at some
> point to make it pass some tests.
>
> I don't see Q as two key strokes, I have two fingers that I can use at
> the same time.

You can’t. “At the same time” may mean both “<q> pressed slightly
after <S-” and “<q> pressed slightly before <S-”, but you may only
press <q> after <S- to get `Q` and not the other way around. `gq` here
is in par with `Q`: `g` and `q` use different fingers and they need to
be pressed in specific sequence as well. `Q` may actually be worse if
you are trying to press this as fast as possible: you must release <S-
after pressing <q>, but it does not matter when you release <g> and
<q>, only when you press them matters.

Also depends on keyboard and layout: dvorak has <g> and <q> on
different hands, while <q> and <S- are on the same hand (right shift
is harder to use on my keyboard because it has <\> before it which is
not uncommon, so I tend to avoid it, mostly using for `":<>` (us:
`ZQWE`), even A (us: A, one of two keys which match in us and dvorak
layouts) is typed using left shift).

Note: unlike @Martin Lundberg I see that typing `gq` using *two* hands
is *faster* then typing `Q` using *one*. I tried and can type `Q` with
two hands faster then with one, but this makes following text slower
(both because I am not used and because restoring little finger
position from far <S- is slower, whether it matters depends on what
text follows `Q`).

And, if I am not mistaking, requirement to *switch* hands for common
letter combinations is one of the reasons why typing with dvorak is
*faster*. So “involving two hands” could be a word for `Q`, not for me
though due to my far right shift.

>
> --
> BEDEVERE: How do you know so much about swallows?
> ARTHUR:   Well you have to know these things when you're a king, you know.
>                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
>
>  /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui