It occurs to me that I stupidly copy-pasted that patch, which means
that the tabs in it would be converted to spaces, which means that it
won't apply, so even though it's a two line change I'm attaching it
here instead.  My bad.  :)

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Index: src/normal.c
===================================================================
--- src/normal.c	(revision 625)
+++ src/normal.c	(working copy)
@@ -5854,7 +5854,9 @@
 			    || cap->oap->op_type == OP_CHANGE)
 			&& !lineempty(curwin->w_cursor.lnum))
 		{
-		    ++curwin->w_cursor.col;
+		    /* Only if not already handled by coladvance */
+		    if(restart_edit == NUL)
+		        ++curwin->w_cursor.col;
 		    cap->retval |= CA_NO_ADJ_OP_END;
 		}
 		continue;

Raspunde prin e-mail lui