updated for version 7.3.630
Problem: "|" does not behave correctly when 'virtualedit' is set.
Solution: Call validate_virtcol(). (David Bürgin)
diff --git a/src/normal.c b/src/normal.c
index f61052b..6a4fa78 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -7786,7 +7786,10 @@
* virtualedit. Recalculate curwin->w_cursor to avoid bad hilighting.
*/
if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
+ {
+ validate_virtcol();
coladvance(curwin->w_virtcol);
+ }
#endif
VIsual = curwin->w_cursor;