To store the currently editting file in the format of unix:
:set fileformat (or ff)=unix
If I want to change the default file format of vim to unix, add this code into the .vimrc and .gvimrc file under my home directory:
set fileformats=unix,dos
:set fileformat (or ff)=unix
set fileformats=unix,dos
No comments:
Post a Comment