Possibly this is a bug, but I'm not sure. Through user fow in #vim on freenode, 
I've confirmed no side effect in 7.3.409, but there is a side effect in 7.3.547 
(the version on my computer) and 7.3.854 according to romainl from 
stackoverflow.

The easiest way to test is to copy paste the following file into a vim buffer, 
jump to the beginning (gg) and follow the instructions.

----
Hi there, this is a test case.  I'm the first line.
This line is short.
----

After opening this file issue the following commands:
$j:set cuc<Enter>k

You'll notice that the cursor should be on the period after "case" this is 
expected behavior.

Next enter the following commands:
:set nocuc<Enter>$hj:set cuc<Enter>k

You'll notice that the cursor should now be on the word "a" rather than on the 
"e" at the end of "line"

So when you have a column value (not end of line) then :set cuc modifies this 
value as a side effect.

Is there anyway to workaround this issue? Is this a bug? Can anyone else 
reproduce?

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


Raspunde prin e-mail lui