1

Возможно, это ошибка, но я не уверен. Через пользователя fow в #vim на freenode я не подтвердил побочный эффект в 7.3.409, но есть побочный эффект в 7.3.547 (версия на моем компьютере).

Самый простой способ проверить это - скопировать, вставить следующий файл в буфер vim, перейти к началу (gg) и следовать инструкциям.

Hi there, this is a test case.
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 "case"

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

Есть ли способ обойти эту проблему? Это ошибка? Кто-нибудь еще может воспроизвести?

0