I like to change around my default color scheme in my text editors. I love Sublime and use it for a lot of .txt documents. I don't like the default white-on-gray scheme that is uses though.
I saw other answers about how to change a specific background color based on the file type, but I haven't come across anything about making a specific file type use the default setting.
I would like any text file I open/create in sublime to use the same color scheme as what I currently have selected from the preferences menu.
Open a .txt
file in Sublime, then select Preferences -> Settings-More -> Syntax Specific-User
to open Packages/User/Plain text.sublime-settings
. More than likely there is a line in there setting the color scheme to Monokai, which is Sublime's default. Just delete that line, save the file, and you should be all set.
I too had issues with my text file color scheme in Sublime text. The scheme was centered dark-gray text on a light-gray background, very hard to read.
Based on @BrianHVB's comment in the accepted answer about the Markdown package, I looked up the settings for the MD package I was using.
In my case, the settings had a list of file extensions for which the package would activate. The list included txt
files. I opened the User settings file for the MD package, and overwrote the extensions
setting. Once I reopened my txt
the color scheme was back to normal.
I don't know why txt
files had a gray background, while md
files were fine. Perhaps that answer is elsewhere in the package settings, but I lost interest after I fixed my problem.
Markdown.sublime-settings - User
{
"extensions":
[
"md",
"mdown"
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With