[EMAIL PROTECTED] wrote:
Hello Antoine,

In VI, if I wanted to search for a control character (like <ctrl-m>) I used the ^v character.

Can you tell me how I would do it in VIM (in a windows environment)?

Thanks very much,


Dennis

--

*Dennis Franklin*

*Senior Customer Engineer*

Office: (408) 566-2048*(*
Fax: (408) 566-2706**Ê***
*Cell: (408) 623-6680È
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>*


1. I'm Cc-ing this to the [email protected] mailing list, where this kind of questions belong. You can subscribe to it by sending an email to [EMAIL PROTECTED] and then obeying what the autoreply will tell you to make the subscription stick. But mailing list posts MUST be plaintext only; anything in HTML is silently discarded in order to fight spam.

2. There are two possibilities to answer your question:

Method I (recommended, especially for former Vi users): Remove from your vimrc (or exrc) the line which invokes the "mswin.vim" script, and Vim's Ctrl-C Ctrl-X Ctrl-V (etc.) keys will again behave "as in Vim" and not "as in Notepad". You will still be able to access the clipboard in Vim as register + or register * (which, under Windows but not under X11, are synonymous).

Method II: If you keep the mswin.vim line, you can still do "what Ctrl-V normally does in Vim" by using Ctrl-Q instead.

See
        :help mswin.vim
        :help CTRL-V-alternative
        :help i_CTRL-Q


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
218. Your spouse hands you a gift wrapped magnet with your PC's name
     on it and you accuse him or her of genocide.

Reply via email to