Home Download Buy Blog Forum Support

Vintage mode, retain column position

Vintage mode, retain column position

Postby jheiss on Wed Nov 02, 2011 2:07 pm

In vi if you move the cursor up or down rows your column position will be maintained. If you move to a row with fewer characters than your original column position the cursor will move to the end of the line, but if you then move to another line long enough to have your original column position the cursor will move to that column.

I.e. if you were working on the following 4 line document and your cursor started at the capital X, as you moved down your cursor would be at column 3, 2, 1, and finally 3 on the last line.

xxXx
xx

xxxxx

Without Vintage enabled Sublime has the same behavior. But when Vintage is enabled your cursor position is 3,2,1,1 when scrolling through the same document. I.e. a a short line resets the saved column position to the length of that line.

Another user mentioned this in a forum post on a different topic (link below), I wanted to start a separate post to ensure this was tracked as an issue.

viewtopic.php?f=3&t=2899&p=13655#p13655
jheiss
 
Posts: 5
Joined: Wed Nov 02, 2011 1:51 pm

Re: Vintage mode, retain column position

Postby jheiss on Wed Nov 02, 2011 2:18 pm

To further clarify, this only happens in Vintage command mode. In Vintage insert mode column position is retained, as it is when Vintage is not enabled.
jheiss
 
Posts: 5
Joined: Wed Nov 02, 2011 1:51 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 15 guests