in reply to Windows Ctrl Char

Non-Perl solution:

:%s/<CTRL+V><CTRL+M>$//

The prefixing CTRL+V will escape the subsequent CTRL+M, so it won't work as a ENTER key

Ciao!
--bronto


The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz

Replies are listed 'Best First'.
Re: Re: Windows Ctrl Char
by Tomte (Priest) on Mar 24, 2003 at 09:39 UTC

    ++bronto

    Note that this is
    :%s/<CTRL+Q><CTRL+M>$//
    If you have sourced $VIMRUNTIME/mswin.vim

    regards,
    tomte