This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFC] vim-minimal in Base?
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 20 May 2013 03:16:34 -0500
- Subject: Re: [RFC] vim-minimal in Base?
- References: <5191AF60 dot 3030305 at users dot sourceforge dot net> <5191E2A4 dot 9010305 at etr-usa dot com> <20130514075946 dot GA23074 at calimero dot vinschen dot de> <51920568 dot 1000102 at users dot sourceforge dot net> <CAKf2h5QJS4OW1AEyY8bzT0O-i6CH0h-QvW6BSamqufUFoSWBGg at mail dot gmail dot com>
On 2013-05-14 05:19, Frank Fesevur wrote:
It overrides the symlink from vi to vim.exe and so this "breaks" my
current setup:
$ vi
Error detected while processing /home/Frank/.vimrc:
line 1:
E319: Sorry, the command is not available in this version: syntax on
Press ENTER or type command to continue
Any thought other then fixing the symlink manually?
Well, you could make your .vimrc more "portable":
if has("syntax")
syntax on
endif
However, it looks like Fedora works around this by using ~/.virc
(instead of vimrc) with the vi binary. I'll try to get that into a new
release soon.
Yaakov