[Vimpulse] Bug: Visual selection and W at the end of the line
there are some problems with visual selection and W (and maybe other motions that go past the end of the line). Two examples: `|' represents the cursor. ----BoB ---- asdf asdf asdf |asdf asdf asdf asdf asdf ----EoB ---- vW~ ----BoB ---- asdf asdf asdf |ASDF Asdf asdf asdf asdf ----EoB ---- the A on the second line shouldn't be affected, but it is.
From: [email protected] Date: Thu, 3 Jun 2010 22:00:26 +0100
vW~ ----BoB ---- asdf asdf asdf |ASDF Asdf asdf asdf asdf ----EoB ----
the A on the second line shouldn't be affected, but it is.
Shouldn't it? I get exactly the same behavior in Vim. At the last word at the line, W jumps to the first word at the next line. Visual selection includes the character under the cursor, so the first letter is changed. Using Visual selection, vE~ does what you want; alternatively, g~W. Vegard _________________________________________________________________ Windows Live™ Mail. Flere kontoer på ett sted. http://download.live.com/wlmail
Vegard Øye <[email protected]> writes:
From: [email protected] Date: Thu, 3 Jun 2010 22:00:26 +0100
vW~ ----BoB ---- asdf asdf asdf |ASDF Asdf asdf asdf asdf ----EoB ----
the A on the second line shouldn't be affected, but it is.
Shouldn't it? I get exactly the same behavior in Vim. At the last word at the line, W jumps to the first word at the next line. Visual selection includes the character under the cursor, so the first letter is changed.
Using Visual selection, vE~ does what you want; alternatively, g~W. It turned out it's a bug on GVim for Windows! GVim for Windows doesn't capitalize the A on the second line while it does on the linux version and on Windows/Linux console Vim. I'll maybe fill in a bug report to the Vim guys :-) __ Alessandro
participants (2)
-
Alessandro Piras -
Vegard Øye