Bydefault Line Endings in Sublime Text will be Windows. You can set Unix as default by
Opening
Preferences -> Settings-User
and Paste the following content.
{
"default_line_ending": "unix",
}
If you already have any other custom prefernces set, you don’t need to put the curly braces.
just paste the line ending mode like below.
{
"font_size": 13,
"default_line_ending": "unix",
}

One Response to How to Set Unix as Default Line Ending in Sublime Text