Sublime Forum

Can we please have an option for a block cursor?

#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

#30

+1 for a block cursor.

As some other people here I had to create a forum login just to +1 this.
I’m really surprised that it wasn’t already an option.

0 Likes

#31

[quote=“jonjac”]+1 for a block cursor.

As some other people here I had to create a forum login just to +1 this.
I’m really surprised that it wasn’t already an option.[/quote]

Agreed. The option of having a block cursor is a must in an editor like ST.

0 Likes

#32

yes, pls block cursor. Whenever I search I loose track of the cursor. A non-blinking yellow fat block or something alike would be perfect.

0 Likes

#33

+1 for block cursor. Switched from MacVIM and miss it badly.

0 Likes

#34

+1 for block cursor.

0 Likes

#35

+1 for block cursor

0 Likes

#36

You can add “inverse_caret_state”: true to user preferences.

0 Likes

#37

Will be the first to +1 this for 2014.

0 Likes

#38

+1 for block cursor

0 Likes

#39

Build 3054
Release Date: 16 October 2013
Fixed incorrect title bar in new sessions
Auto complete now works as expected in macros
Vintage: A block caret is now used
Linux: Fixed menu hiding not restoring correctly at startup
Linux: Fixed incorrect underscore display in some menus

0 Likes

#40

The last post in this thread indicated that in Build 3054 a block caret was again used, however, I’m currently running Build 3059:

OS X Mavericks
Sublime Text 3
Stable Channel, Build 3059

and the caret is now a blinking ‘_’ underline character in “Normal”-mode, and a blinking ‘|’ pipe character in “Insert”-mode.
What I’m after in “Normal”-mode is the blinking block, like that which exists in MacVim “Normal”-mode.

On my windows machine I’m running the exact same version and configuration/settings of/for ST3:

Windows 7
Sublime Text 3
Stable Channel, Build 3059

and the caret IS correctly the blinking block in “Normal”-mode with the blinking “|” pipe in “Insert”-mode just like Vim.

Why is the “Normal”-mode caret correctly a blinking block in everything else (vim, MacVim, GVim, others) on both my OS X and Windows based machines, is correct in ST3 on my Windows based machine, but only in ST3 on my OS X machine it is a blinking “_” underline character?

I’ve tried every suggestion to fix this I’ve found thus far, but nothing has fixed this issue in ST3 under OS X. Any suggestions?


Re: Can we please have an option for a block cursor

Postby tito on Tue Jun 10, 2014 12:51 pm
Build 3054
Release Date: 16 October 2013
Fixed incorrect title bar in new sessions
Auto complete now works as expected in macros
Vintage: A block caret is now used
Linux: Fixed menu hiding not restoring correctly at startup
Linux: Fixed incorrect underscore display in some menus

0 Likes