Home Download Buy Blog Forum Support

cursor line/column

cursor line/column

Postby nilmethod on Thu Oct 20, 2011 3:32 am

I'm migrating from vim and I find the cursor hard to find in Sublime. I normally use the "cursorline" and "cursorcolumn" options in vim to basically turn my cursor into a crosshair. Are there any options (preferably similar to cursor line/column) to make the cursor easier to see?

Thanks!
nilmethod
 
Posts: 5
Joined: Thu Oct 20, 2011 3:29 am

Re: cursor line/column

Postby adzenith on Thu Oct 20, 2011 4:44 pm

There's a horizontal option but not a vertical one. Look at the highlight_line option in the file settings.
adzenith
 
Posts: 835
Joined: Mon Oct 19, 2009 9:12 pm

Re: cursor line/column

Postby nilmethod on Thu Oct 20, 2011 6:45 pm

adzenith wrote:There's a horizontal option but not a vertical one. Look at the highlight_line option in the file settings.


I found that one and added it to my user config, but it doesn't appear to do anything. I also turned on tab highlighting (for unsaved files) and that doesn't appear to do anything either. I may not understand the config files...
nilmethod
 
Posts: 5
Joined: Thu Oct 20, 2011 3:29 am

Re: cursor line/column

Postby nilmethod on Thu Oct 20, 2011 6:46 pm

I did, however, just notice that the line number that the cursor is parked on gets highlighted. That may be sufficient.
nilmethod
 
Posts: 5
Joined: Thu Oct 20, 2011 3:29 am

Re: cursor line/column

Postby Avenue80dave on Wed Nov 30, 2011 5:09 pm

Vertical (column) highlight would be a really nice feature to add to ST2. I hated it at first, when I turned it on in VIM, but you really can't beat it when trying to line up code blocks and such. I know there are ways to go to the next "}" but the visual indicator of a vertical highlight adds a lot.
Avenue80dave
 
Posts: 4
Joined: Wed Nov 30, 2011 5:07 pm

Re: cursor line/column

Postby icylace on Sun Feb 10, 2013 4:45 am

Please checkout my new plugin called CursorRuler (announcement thread here: viewtopic.php?f=5&t=11067) which hopefully is the answer you're looking for :)
icylace
 
Posts: 23
Joined: Mon Jan 14, 2013 7:24 am


Return to General Discussion

Who is online

Users browsing this forum: revdave33 and 8 guests