By default the line number / gutter area in sublime text 2 is highlighted when the caret is on that line. How can I turn it off?
I see options to hide the gutter but I w
Some additions
"font_size": 9.0,
"caret_style": "smooth",
"highlight_line": true,
"line_padding_bottom": 2,
"line_padding_top": 2,
"fade_fold_buttons": false,
To turn off line highlighting go to preferences>settings - User
through the menus and add this line:
"highlight_line": false,
then save. I am using the default Monokai
theme in linux, this will change it from:
to:
As you can see the line is no longer highlighted (it doesn't show in the picture but my cursor is still on the line), but the gutter numbers are. I think you also want to get rid of that? So, open the theme file .../sublime-text-2/Packages/Color Scheme - Default/Monokai.tmTheme
, and change the <key>lineHighlight</key>
colour, so it is the same as the <key>background</key>
color, ie. #3E3D32
goes to #272822
, like this:
On saving, it should resolve your problem:
Only the 2nd step is really neccessary.