Hirohito Higashi wrote: > Hi Bram and Vim developers, > > I found a bit wrong cursor movement behavior. > > Occurrence conditions (Match all): > - 'virtualedit' option is 'block' or 'all' > - 'wrap' > - in Visual block mode > - gj after $ > > How to reproduce. > 1. Start Vim > $ vim -N -u NONE > > 2. Set 'virtualedit' to 'block' > :set ve=block > > 3. Prepare the test data > i12345<CR>123<Esc>gg > > 4. Start Visual block mode and $ and gj > :exe "normal! \<C-V>$gj" > > Expected behavior > Cursor move to lines:2 and columns:4. > > Actual behavior > Cursor move to lines:2 and columns:80. > (The 80 is equal to 'columns') > > > I wrote a patch. (Of course, I also added a test :-) > Please check this.
Thanks, I'll put it in the todo list. -- hundred-and-one symptoms of being an internet addict: 105. When someone asks you for your address, you tell them your URL. /// 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/groups/opt_out.
