

2) It will delete all the marks, so if you regularly use marks, you won't like this macro (though I’m sure it can be adjusted to just delete the last mark). 1) This only works in ST3, because ST2 doesn’t have a built-in function for returning to previous cursor position. It boils down to: 1) run incremental search (command-I in OS X, exits search field on enter), 2) hit shortcut key. This can all be encapsulated in the following macro, then assigned to a shortcut key: [ The basic idea is that you initiate an incremental search (or regular Find, and exit the search field with ESC), set a mark, rewind to the prior cursor position, extend selection to mark, then clear the mark. Here’s a (very inelegant) approach I came up with only works in ST3. Restart Sublime, and your changes should take effect.I’m not sure what the norms are for answering one’s own question here, but since I got the dreaded Tumbleweed badge for this one, I figured I’d try to do it myself. Go back to your file explorer and delete the color scheme's. If there is no caret key, you can add it. Near the top of the file, you'll see something like the following (taken from the Neon Color Scheme): nameĪnd change its value to whatever hex color code you want. tmTheme file in Sublime, using XML as the syntax highlighting. Browse to the location of the color scheme and open the corresponding. to open the Packages folder in your file system explorer. Next, select Preferences -> Browse Packages.


If you haven't set it there, the default value is Packages/Color Scheme - Default/Monokai.tmTheme. First, open your user preferences and check the value of "color_scheme" to get the path to the scheme you're using. Since you have Sublime Text 2, changing the color scheme is quite straightforward. The caret color is defined in the color scheme you are using.
