Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to save by default Unix format irrespective it is a new file or a existing file on different format.

I want to open a simple windows format file add an extra sentence , when I save I want the file to be saved in default Unix format instead of I am making the eol change explicitly Is there is a way to do it

share|improve this question
You mean the line endings? \n instead of \r\n? Why have you taged this as Unix and Unix-utils? You're using Windows aren't you? AFAIK, notepad++ only exists for windows. – terdon Jan 15 '14 at 13:42
Yes from windows, thanx – Wills Jan 15 '14 at 13:54

Check the "Format" box in Settings > Preferences > New document / Default directory for selecting new files' default line endings:

enter image description here

No clue about how to automatically convert every opened file to a given line-ending style though : /

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.