:set ff=unix
Source: stackoverflow.com
Set line-endings to Unix in Vim
Related Posts:
Disable highlighting links in Vim By default, Vim underlines the text inside anchor tags, including spaces, e.g.: Some text To disable this, create ~/.vim/syntax/ht… Read More
Hide vim swap files in vim browserWhile browsing files with vim, e.g. by entering the command ":e .", you might see a lot of swap files (*.swp, *.sw?) if you're using buffers. To hide … Read More
Mapping Keys in Mac OS 10.12 SierraTo map keys in Mac OS 10.12 Sierra, install Karabiner-Elements. I have a UK keyboard but am used to the US layout, so I've changed the section symbol… Read More
My temporary development environmentHere is how I set up my tools on a computer I'm temporarily using, such as one at the library. Putty Download putty from www.chiark.greenend.org.uk… Read More
Set line-endings to Unix in VimTo change a file's line endings to UNIX (\n) in Vim: :set ff=unix Source: stackoverflow.com… Read More
0 comments:
Post a Comment