On Thu, 23 Mar 2017 21:23:04 -0700 (PDT)
JohnBeckett <johnb.beckett@gmail.com> wrote:
> On Friday, March 24, 2017 at 2:34:05 PM UTC+11, Paul Watson wrote:
> > Is it possible on Windows to edit a old-style, pre-OS/X file from a
> > Mac that uses 0x0D (CR) as the newline? If so, how?
> > 
> > Does this have something to do with 'set ffs='?
> 
> See
> http://vim.wikia.com/wiki/File_format
> 
> If the file is open in Vim, entering the following reloads it using
> CR-only line endings.
> 
> :e ++ff=mac
> 
> John
> 
You can also use Modeline Magic to set the file format in the file. See
http://vim.wikia.com/wiki/Modeline_magic
-- 
Don't stop where the ink does.
	Shawn H Corey
-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Friday, March 24, 2017
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment