Am 07.08.2010 11:28, schrieb John Beckett:
I do not remember paste positioning the cursor like this:

gvim "+set nocp ve=all" -u NONE
i123456<Esc>     insert some text
F3              jump back to the '3'
Ctrl-V y        start blockwise selection and yank (copy the '3')
f5              jump to the '5'
P               paste the '3' before the cursor

Result: The cursor is AFTER the pasted text (the '3').

If blockwise copy/paste more than one column, we see that the
cursor (and the `[ mark) is one character after the first pasted
character.

If repeat the paste after doing ':set ve=' the result is that
the cursor is at the START of the pasted text (which is what I
expect to always happen).

I am perplexed by the above because I paste blocks a few times a
week, and I don't remember P leaving the cursor one character
after the first pasted character, yet I don't think I've changed
my 've' ('virtualedit') setting for a long time.

Has blockwise paste always worked like this with ve=all?

No, gVim7.1 works ok.
gVim7.1.315 behaves as you described (buggy).

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

Raspunde prin e-mail lui