Re: [PATCH 4/6] Implement EOL tracking

2013-07-12 Thread Nicholas Marriott
On Fri, Jul 05, 2013 at 12:25:59PM -0400, Ben Boeckel wrote: > On Fri, Jul 05, 2013 at 17:12:03 +0100, Nicholas Marriott wrote: > > The EOL tracking seems to be a bit broken at the moment but I don't > > think this is right either, it should work like emacs - when you go to > > the end of a line, t

Re: [PATCH 4/6] Implement EOL tracking

2013-07-05 Thread Ben Boeckel
On Fri, Jul 05, 2013 at 17:12:03 +0100, Nicholas Marriott wrote: > The EOL tracking seems to be a bit broken at the moment but I don't > think this is right either, it should work like emacs - when you go to > the end of a line, that column becomes sticky. So with: > > xx > abcdef > abc > > If yo

Re: [PATCH 4/6] Implement EOL tracking

2013-07-05 Thread Nicholas Marriott
Hi The EOL tracking seems to be a bit broken at the moment but I don't think this is right either, it should work like emacs - when you go to the end of a line, that column becomes sticky. So with: xx abcdef abc If you go to the second line and then press C-e to move to th end, then press up, th

[PATCH 4/6] Implement EOL tracking

2013-06-11 Thread Ben Boeckel
When the EOL command is used, vim tracks that the EOL is the cursor position, not the cursor that the EOL happened to occur on for the line where the motion was given. To keep track of this, an EOL flag is added to indicate this state. Most motions will clear this state, but a few such as block mod