In theory, yes.  However, it seems Vim always mucks up the formatting
when pasting.  For me it almost always indents every line one extra
shift width for each new line resulting in a "staircase" of lines.

Not for me. If I have text without leading whitespace on the clipboard
and paste it at an indented location in a buffer, it is all indented at
that position.

Unfortunately, there is a problem even with (c).  Namely, if you're in
block-wise visual mode and hit I to insert, then<C-O>  does nothing.
You have to press<C-O><C-O>  for some reason.  This seems like a bug
to me.  (Of course,<C-O>  works fine if insert mode wasn't entered
from block-wise visual mode.)

Is this a bug with<C-O>  and visual block mode?

I think so. Seems to affect all visual modes. I think more specifically
it's a bug with v_b_I and v_b_A, but also I and A when just used in
visual mode (which isn't documented, but still does something--maybe
it's a bug that it does anything).

Ben.



--
You received this message from the "vim_use" 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

Reply via email to