Hi
:set fileformat=unix
:set ff=unix
and back again
:set ff=dos
:help fileformat
Chris
On 16 January 2015 at 12:51, John Culleton wrote:
> I have a customer's file in dos format. Is there
> a command to convert it to *nix format? I use
> Linux. There are problems with the file and I
> need to
Ah! I meant :set ff=unix, not dos. Sorry.
16.01.2015, 14:51, "John Culleton" :
> I have a customer's file in dos format. Is there
> a command to convert it to *nix format? I use
> Linux. There are problems with the file and I
> need to operate in native format.
>
> --
> John Culleton
> Wexford Pr
Simply issue :set ff=dos. Also make sure you read the relevant docs:
http://vimdoc.sourceforge.net/htmldoc/options.html#'fileformat'
16.01.2015, 14:51, "John Culleton" :
> I have a customer's file in dos format. Is there
> a command to convert it to *nix format? I use
> Linux. There are problems
John Culleton wrote:
> I have a customer's file in dos format.
> Is there a command to convert it to *nix format?
The advice you have received so far is not the whole story.
See:
http://vim.wikia.com/wiki/File_format
John
--
--
You received this message from the "vim_use" maillist.
Do not top