If you actually entered a control M into the file, the cursor will treat the
^M as a single character. Search for CTRL-V in the VIM help (:help) to see
how.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Bob Zimmerman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 09:30
Subject: vi under cygwin
> I am trying to figure out how to enter control codes into VI under
> cygwin (win98). For example, I want a control M or control P to be
> entered as a single "character" - I know it will appear as 2 chars
> (^M), but how do I actually enter it as a single one?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/