Sublime Forum

Can we please have an option for a block cursor?

#1

This seems like it would be a small, almost trivial thing to add, but as a developer with a severe visual impairment (read: legally blind), it would make things so much easier. The recently added blinking helps a lot, but the ability to turn on a block-style cursor would be even better. Thanks!

1 Like

Block Caret?
Can the caret_style be "block"?
#2

While I know it’s not exactly what you’re looking for, you can try setting caret_style to “wide” in your Global File Preferences

0 Likes

#3

I would support this, I run sublime text using vintage mode and I have alot of problems finding the caret sometimes :confused:

0 Likes

#4

Hi,

That would be a small yet great improvement on the UX side: +1.

0 Likes

#5

I am just starting to use SublimeText myself and very quickly became annoyed with the lack of this feature. I have thrown together a quick plugin the mimics it as best I can by using region highlights. You can grab it here:

github.com/netpro2k/SublimeBlockCursor

0 Likes

#6

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.

0 Likes

#7

+1 for block cursor.

Using the normal cursor in vintage mode can get very confusing.
Specially since in cmd mode it’s a underscore and when next to a bracket you get double underscores and you have no clue which is the cursor.

0 Likes

#8

Is there some place to vote for this feature? SublimeBlockCursor is a great plugin but looks a tiny bit off from what I’m used from MacVim.

0 Likes

#9

i wish you had never created that plugin because it merely existing at all is a reason for the developer to consign this awesome request to the bit bucket.

please add a native block cursor. micro thin vertical line hiding between two chars is VERY difficult to see sometimes.

ty

0 Likes

#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