Im trying to change the cursor color in sublime text. Im running windows in a VM on my mac.

In Preferences.sublime-settings ive added the following but it hasn't done anything:

// Change caret colour? 
"caret_color": "#FF0000",

"caret": "#FF0000",

This is similar to this question but the answer there doenst work for me: Change the color of the cursor in Sublime Text

4 Answers 4


The caret color is defined in the color scheme you are using. Since you have Sublime Text 2, changing the color scheme is quite straightforward. First, open your user preferences and check the value of "color_scheme" to get the path to the scheme you're using. If you haven't set it there, the default value is Packages/Color Scheme - Default/Monokai.tmTheme. Next, select Preferences -> Browse Packages... to open the Packages folder in your file system explorer. Browse to the location of the color scheme and open the corresponding .tmTheme file in Sublime, using XML as the syntax highlighting. Near the top of the file, you'll see something like the following (taken from the Neon Color Scheme):


Find the caret key:


and change its value to whatever hex color code you want. If there is no caret key, you can add it.

Once you're done, save the file. Go back to your file explorer and delete the color scheme's .tmTheme.cache file if it exists. Restart Sublime, and your changes should take effect.

  • 1
    Thats is changing the color of the blinking line in the text that shows me where I am, however its not changing the mouse cursor.
    – Evanss
    Oct 31, 2014 at 9:43
  • 3
    @jdln You didn't indicate in your question you were trying to change the mouse cursor. You need to set that in your Windows configuration settings - Sublime has nothing to do with that.
    – MattDMo
    Oct 31, 2014 at 14:22
  • @MattDMo caret is not cursor, two different words. Mar 25, 2020 at 21:38
  • 2
    @EvgeniNabokov In the US, at least, the two words are often used interchangeably. The OP also mentioned caret settings in the question.
    – MattDMo
    Mar 26, 2020 at 23:00

If you use vintage mode there are two caret types, block_caret and caret. block_caret is probably used outside of vintage mode as well but thought it would be worth mentioning. While this post is tagged for sublime text version 2 it is 8 years old and it was the top result when searching for this issue. I fixed mine by editing my color scheme and adding

        "block_caret": "hsla(210, 13%, 40%, 0.08)",

Got it.. Following worked for me.

Use this article to get to mouse settings, https://support.microsoft.com/en-us/help/14203/windows-7-make-mouse-easier-to-use.

I chose the "Regular Black" option, which inspite of the name, is surprisingly easy to see in Sublime

  • Please read the question again carefully. Your answer does not answer the original question.
    – DavidPostill
    Sep 9, 2016 at 8:50

You can change the sublime preferences from

Select "Preferences" → "Settings-Default". Go to Default settings tab change the options related to caret. Now go back to your custom setting and update as per your choice.

Please refer This link , which will be helpful

  • This is where iver put my code from my question but nothing changes.
    – Evanss
    Oct 30, 2014 at 16:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .