Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

blink-cursor-mode with nicer blinking?

Tags:

emacs

Blinking cursors can be quite irritating. It is easy to switch blinking off with blink-cursor-mode (or maybe customize it ...). But with larger screens, it is often difficult to locate the cursor-position. So, well, blinking might make sense after all.

However, what is visually very irritating is that blinking is done by switching between a full rectangle (or bar) and nothing. When you now compare C-x 3 like side-by-side two buffers, the selected buffer has sometimes the rectangle and sometimes not. So you cannot easily look to one side and then the other ; you have to wait for the cursor to "reappear". That is very irritating.

So my question is: Is it possible have blinking switch between full-rectangle and something related? Lighter-colored rectangle? It should not be hollow-rectangle because this is used in the other buffer.

(I am using 23.1)

like image 745
false Avatar asked Jan 11 '13 02:01

false


People also ask

What is blinking cursor?

Alternatively referred to as a caret, a cursor or text cursor is a blinking horizontal or vertical line ( ) that indicates where new text starts when you begin to type. For example, below is an empty text box, clicking in this box gives you a text cursor to indicate you can start typing.

How do I change cursor color in emacs?

So here is the way to do it: 1. M-x customize-face , enter 2. cursor enter 3. choose the background color of you liking.


1 Answers

This is possible from 24.1 on.

The blink-cursor-alist permits to specify for each on-type an off-type.

Thanks to @RobertHarvey for pointing this out.

like image 110
false Avatar answered Sep 24 '22 21:09

false