lambdalisue / jupyter-vim-binding

Jupyter meets Vim. Vimmer will fall in love.
2.1k stars 136 forks source link

how to turn off blinking cursor in code cell #90

Closed jgors closed 7 years ago

jgors commented 7 years ago

I see here [1] that there is a cursorBlinkRate parameter that can be set to 0 to turn off cursor blinking in the cells, though can't figure out how this should be implemented in the custom.js file. It seems like it should be pretty straightforward, though haven't been able to figure out how to do so.

Thanks in advance

[1] http://codemirror.net/doc/manual.html#config

jgors commented 7 years ago

Ok, figured it out, though am not sure this is the best/right way to do it, but by putting this in the custom.js file it works:

IPython.Cell.options_default.cm_config.cursorBlinkRate=0;
chenchr commented 5 years ago

@jgors Hello. Could you tell me where the custom.js is ?