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 want the line numbers to be visible. Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To turn off line highlighting go to
preferences>settings - Userthrough the menus and add this line:then save. I am using the default
Monokaitheme 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.#3E3D32goes to#272822, like this:On saving, it should resolve your problem:
Only the 2nd step is really neccessary.