This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygnus + VIM



Shiv Kumar wrote:

> I am happy that the latest release is bundled with Cygwin version of VIM.
> Way to go!
> 
>   1. Why do we have these two files, vi.exe and vim.exe in the /bin directory?
>      Is there any difference between the two.

Try ":version" in each of them.  Perhaps one is a small version and the other
has more features enabled?

>   2. If I try to run another VIM script (eg matchit.vim) using :source command
>      inside VIM or in _vimrc file, it complains about trailing ^M characters.
>      But I dont see any ^M chars in that file.

Check the 'fileformat' option.  If it's (automatically) set to "dos", it means
the lines end in CR-LF.  You can remove them by setting 'fileformat' to "unix"
and writing the file.

>   3. Some of my map commands does not work. Eg, :map <C-Q> :q!<CR> does not
>   work when I press CTRL+q. Similarly <C-S> also does not work.

Hmm, perhaps some other mapping gets in the way?  Or the cygwin terminal eats
the CTRL-Q and CTRL-S keys (often used for terminal flow control).

>   4. Any file with :syntax on is very hard to read with a black background.
>   The colors were all decent when I used Win32 version of VIM. Where does
>      cygwin-vim pick sytax coloring from?

Check the 'background' option.  Perhaps it's not set to "dark".  If you do set
it to "dark", do "syntax on" again to reset the color defaults.

-- 
hundred-and-one symptoms of being an internet addict:
170. You introduce your wife as "my_lady@home.wife" and refer to your
     children as "forked processes."

///  Bram Moolenaar     Bram@moolenaar.net     http://www.moolenaar.net  \\\
\\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]