Hello Vim List,

Running with ":set fileformats=dos,unix,mac" I occasionally
see all those '^M's.

To get rid of them I usually do ":%s/^M//" but this time,
hitting the ctrl-v followed by <enter> (to get an "^M") I
apparently hit the <enter> key twice.

It appears that ":s/pattern" produces the same result as
":s/pattern//".  I couldn't find that behavior in the docs.

A hidden feature?  (Or was I just not creative enough using
helpgrep?)

-- 
Best regards,
Bill

Reply via email to