Hi,

Lukas Ruf schrieb:
> 
> while I have several map'ings working under Linux that include ^M's
> (=Ctrl-Q ENTER (on Windows)), I cannot use them really under Windows.
> 
>     For example:
>         :map x :s/ /^M/g
>     results in an execution of
>         :s/ /
>     and
>         /g
>     when x is pressed in normal mode.
> 
> Hence my question: can anyone give me any recommendations on how I can
> include ^M in map'ings on Windows?  Or asked differently: is there any
> way to insert line-breaks at particular places by a different
> approach?

use

  :map x :s/ /\r/g

instead.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

Reply via email to