How to set cursorBlinkPeriod in new react.js editor


So, the new react-based editor is great, but it breaks my previous cursor blink period hack (see here).

It looks like this is the relevant chunk of code, but I’m not sure how to set this property in my config.cson.

Here’s what I tried (which didn’t work):

  'cursorBlinkPeriod': 100

Any tips?

Blinking Cursor

Doesn’t look like it’s exposed in the config - you can try a hack like this in your init script:

atom.workspaceView.eachEditorView (editorView) ->
    editorView.component.props.cursorBlinkPeriod = 100

This seems to work for me!


Also worked for me, though I had to use devtools to bust some caches or something.


This no longer works on Atom 1.0 :frowning:

Does anyone know if it is still possible to set the blink period of the cursor in Atom 1.0? I’d love to change it to be a little slower like Sublime Text’s.


I created a package that does this: cursor-blink-interval


Ah perfect!

With the blink rate set to 1200 and the pulsing-cursor package installed we have a nice relaxing Sublime style cursor.

Brilliant work!