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: 1213
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: 47
Joined: Mon Jan 14, 2013 7:24 am

Re: cursor line/column

Postby Teuxe on Fri Aug 30, 2013 11:18 am

CursorRuler is a fine plugin, it helps at finding the actual cursor location. However in multi-cursor mode, combined with highlighted line it becomes difficult to see the location of all cursors.

I am dreaming of a cursor that would combine both horizontal and vertical rulers, and the killer feature would be the cross cursor :
- vertical bold line of custom height (x pixels over line, x pixels under line), by default a bit more than the height of a line, at the location of the cursors,
- horizontal bold line under the current lines of custom length (before and after cursor location), by default 2 characters-long before and after the cursors,
- if this cross could also blink with the same options than the default cursors, wooow!

You would never loose time searching for cursors anymore!

Last but not least, easy customizing of rulers colors...
Teuxe
 
Posts: 4
Joined: Tue Apr 02, 2013 12:02 pm

Re: cursor line/column

Postby icylace on Sat Aug 31, 2013 6:39 am

I like these ideas. I'll see what's possible to accomplish in a future version of CursorRuler. And thanks for the kudos !
icylace
 
Posts: 47
Joined: Mon Jan 14, 2013 7:24 am


Return to General Discussion

Who is online

Users browsing this forum: mlf and 32 guests