Again on EOLs

Christian Ebert blacktrash at gmx.net
Mon Jun 9 12:11:12 CDT 2008


Hi Ted,

* Ted Pavlic on Monday, June 09, 2008 at 08:48:03 -0400
> I notice that on my OS/X system, multi-line MQ messages default to Mac 
> format even though I have
> 
>      :set ffs=unix,dos,mac
> 
> in my .vimrc. That is, if I do
> 
>      hg qrefresh -e
> 
> to type a multi-line message in vi, the message will be in mac format 
> unless I
> 
>       :set ff=unix

I just have that in my .vimrc. But you could do something like
(untested):

autocmd BufEnter /tmp/hgeditor\..* setl ff=unix

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  -->>  http://www.blacktrash.org/underdogma/


More information about the Mercurial mailing list