How to change the cursor type and color?

[Originally posted by]: http://emacs.stackexchange.com/questions/392/how-to-change-the-cursor-type-and-color

In order to change your cursor or caret, what you want to do is:

Open your .emacs file and this line of code:

(setq-default cursor-type 'bar)

And to change the color:

(set-cursor-color "#ffffff")

Of course, you can change #ffffff to any hexadecimal color.

shareimprove this answer
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s