Just built vim 7.5.754 to play with the new <C-A>/<C-X> in visual mode.
I observe something strange.  Given the following text in a buffer:

    1. lalala

Pressing Ctrl-X twice while on the '1' changes it to '0' then '-1'.
However if I undo back to the original state, select the '1' in a visual
block with Ctrl-V, and then press Ctrl-X, gv, Ctrl-X, I get '0' and then
'1' again.  I would expect '0' and then '-1'.

The other experiment: yank the line and paste it 10 times:

    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala
    1. lalala

Select a visual block to the end of the file (VG), press g Ctrl-X.  I get

    1. lalala
    0. lalala
    18446744073709551615. lalala
    18446744073709551614. lalala
    18446744073709551613. lalala
    18446744073709551612. lalala
    18446744073709551611. lalala
    18446744073709551610. lalala
    18446744073709551609. lalala
    18446744073709551608. lalala
    18446744073709551607. lalala

I expected 1, 0, -1, -2, ...

Marius Gedminas
-- 
A: No.
Q: Should I include quotations after my reply?

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

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui