On Do, 18 Sep 2014, Bee wrote:

> On Thursday, September 18, 2014 6:55:37 AM UTC-7, Ken Takata wrote:
> > When using cursor keys in visual block mode, wrong texts are inserted.
> > (Vim 7.4.444 on Windows/Linux)
> > 
> > E.g.:
> > Reproducing steps:
> > 
> > 1. Input the following text:
> > aaaaaa
> > bbbbbb
> > cccccc
> > 
> > 2. Start visual block mode, input some text and also use cursor keys:
> > 
> > ggl<C-v>2jI1<Right>2<Right>3<Esc>
> > 
> > Expected result:
> > 
> > a1a2a3aaa
> > b1b2b3bbb
> > c1c2c3ccc
> > 
> > Actual result:
> > 
> > a1a2a3aaa
> > bbbbb3aab
> > ccccc3aac
> > 
> > (Or sometimes I got different results.)
> 
> linux mint 17 cinnamon
> gvim 7.4.52
> vim 7.4.444
> 
> I can reproduce getting a similar result.
> 
> a1a2a3aaa
> b1a2bbbbb
> c1a2ccccc

That's what I see as well. 

Using the arrow keys in block insert mode is fragile (as I said beforeš) 
and currently only works for simple movements.

My mentioned patchš seems to have opened a whole can of problems with 
using the cursor keys. I remember having a discussion with Bram about 
how to do it properly. Unfortunately, this is a little bit complex. I'll 
look into it, but don't expect a solution soon.

š) https://groups.google.com/d/msg/vim_dev/4f5aQq98yHQ/8JU3alpTI0MJ

Best,
Christian
-- 
Man sollte auch gute, ja, ausgezeichnete Bücher verbieten, bloß damit
sie mehr gelesen und beachtet werden.
                -- Albert Camus

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