Sublime Forum

Can we please have an option for a block cursor?

#10

In general I’d love to have more python-hooks in sublime text. Just give us a method we can hook into to change how the cursor is drawn. Outline-block-cursor-with-red-top-border here i come.

0 Likes

#11

Please a big block cursor.

0 Likes

#12

[quote=“kellishaver”]Excellent, thank you! I don’t use vintage mode, so I’ve modified it a bit to work everywhere, which was very easy to do.

Thanks a million. This makes the cursor so much easier to see!

I wish it blinked, but that’s kind of ridiculous functionality to ask for in a plug-in. Hopefully a block cursor style will be added to the official release in the future.[/quote]

I am not a python programmer, I wonder if I could get a copy of your changes for non vintage mode?

0 Likes

#13

If you add both of the following to “Settings - User”, you can get it be be blinky and wide at the same time:

[code]“caret_style”: “phase”

“wide_caret”: true[/code]

Check the “Settings - Default” and search for “caret_style” for more options on the rate and style of blinking. The only other thing I’ve thought to do is alter the caret color in your preferred color scheme. I have mine set to some horrendously bright color so that it always galares out of the monitor.

0 Likes

#14

I’ve set the thing as wide as I can, but like a few others above, I could really go for a block cursor. I’m not a programmer; I use Sublime Text (and Komodo Edit, which is uglier but very easy to configure for a non-programmer) to write and prep copy for online publication, and after a long day, that skinny little supermodel cursor is just too damned hard to find.

Thanks for building an interesting (and pretty) editor.

TC

0 Likes

#15

Just to be clear: I’d also prefer a block cursor option.

0 Likes

#16

I would like to have block cursor also. So +1

0 Likes

#17

Yes please, this would be really useful…

0 Likes

#18

This would be great. Please add a block cursor option!

0 Likes

#19

[quote=“kellishaver”]Excellent, thank you! I don’t use vintage mode, so I’ve modified it a bit to work everywhere, which was very easy to do.

Thanks a million. This makes the cursor so much easier to see!

I wish it blinked, but that’s kind of ridiculous functionality to ask for in a plug-in. Hopefully a block cursor style will be added to the official release in the future.[/quote]

I don’t know much about python. Can you share the modified code for using it everywhere to me? thx

0 Likes

#20

[quote=“singw”]

[quote=“kellishaver”]Excellent, thank you! I don’t use vintage mode, so I’ve modified it a bit to work everywhere, which was very easy to do.

Thanks a million. This makes the cursor so much easier to see!

I wish it blinked, but that’s kind of ridiculous functionality to ask for in a plug-in. Hopefully a block cursor style will be added to the official release in the future.[/quote]

I don’t know much about python. Can you share the modified code for using it everywhere to me? thx[/quote]

Remove lines 22,23,24

        if view.settings().get('is_widget') or not view.settings().get('command_mode'):
            view.erase_regions('SublimeBlockCursorListener')
            return

So that It only does

self.show_block_cursor(view)

In the file:
github.com/netpro2k/SublimeBloc … kCursor.py

0 Likes

#21

[quote=“atomi”]

I don’t know much about python. Can you share the modified code for using it everywhere to me? thx

Remove lines 22,23,24

        if view.settings().get('is_widget') or not view.settings().get('command_mode'):
            view.erase_regions('SublimeBlockCursorListener')
            return

So that It only does

self.show_block_cursor(view)

In the file:
github.com/netpro2k/SublimeBloc … kCursor.py[/quote]

thx. but it’s so not the same as what i mean for block cursor…sad… :cry:

0 Likes

#22

You know how the saying goes: Nothing is better than something.

Wait, that doesn’t sound right…

0 Likes

#23

I had to create a user account on the forum to be able to +1 this request. A block cursor would be really important especially in Vi command mode. Of course, the themes would then need to be able to set the cursor background and text colors.

0 Likes

#24

+1 for this feature. Or the aforementioned Python hooks would be sufficient too.

0 Likes

#25

+1 for a huge block cursor. And, if possible, column line highlight :smile:

Great help to follow caret when using high speed vi commands.

0 Likes

#26

[quote=“abathologist”]If you add both of the following to “Settings - User”, you can get it be be blinky and wide at the same time:

[code]“caret_style”: “phase”

“wide_caret”: true[/code]
[/quote]

Thanks for this!

Did you find this documented somewhere? (I have never come across it before, and I thought I knew all the common places to look for options.)

Alex

0 Likes

#27

Related, it’d be nice to see a UX enhancement to bring the user’s attention to the cursor, optionally when tab/window gets focus and optionally when the user hits a panic key (I’ve lost the cursor!). Some kind of circle zooming down to the cursor or something along those lines.

I’m losing the caret in sublime all the time, especially when keyboard switching between split panes. I suppose line hilighting helps, and block cursor would be more visible, but I’m hoping for block cursor together with virtual space so that the cursor appearance changes when in virtual space.

I suppose cursor classes and API hooks to allow us to render appearance of each class would be the most flexible approach.

S

0 Likes

#28

@malpeli: Please checkout my new plugin called CursorRuler (announcement thread here: CursorRuler - Marks cursor position with dynamic rulers) which can do column highlighting :smile:

0 Likes

#29

i had hoped we would have both a block cursor AND virtual spaces in ST3… mybe by the time it comes out of beta we will have these… we can only hope :smile:))

0 Likes