Home Download Buy Blog Forum Support

How to set the default line endings for unix?

How to set the default line endings for unix?

Postby bindiry on Tue Dec 06, 2011 4:41 pm

I'm used windows.
I was editing files at Ubuntu on Lan.
I try add "line_ending": "unix", to Base File.sublime-settings, it doesn't work. :oops:
bindiry
 
Posts: 4
Joined: Fri Nov 18, 2011 4:15 am

Re: How to set the default line endings for unix?

Postby Mylith on Tue Dec 06, 2011 10:58 pm

I'm keeping it in project file, but try Preferences -> File Settings User eg Windows 7 path:
Code: Select all
*drive*:\Users\*user*\AppData\Roaming\Sublime Text 2\Packages\User\Base File.sublime-settings

Put (keep JSON format)
Code: Select all
{"default_line_ending": "unix"}

And you are ready to go;
Mylith
 
Posts: 30
Joined: Mon Oct 17, 2011 12:58 pm

Re: How to set the default line endings for unix?

Postby bindiry on Wed Dec 07, 2011 3:28 am

Mylith wrote:I'm keeping it in project file, but try Preferences -> File Settings User eg Windows 7 path:
Code: Select all
*drive*:\Users\*user*\AppData\Roaming\Sublime Text 2\Packages\User\Base File.sublime-settings

Put (keep JSON format)
Code: Select all
{"default_line_ending": "unix"}

And you are ready to go;


thank you very much! it works.
bindiry
 
Posts: 4
Joined: Fri Nov 18, 2011 4:15 am


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 30 guests