This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFC] vim-minimal in Base?
- From: Frank Fesevur <ffes at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 14 May 2013 13:25:39 +0200
- 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>
2013/5/14 Frank Fesevur:
> 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
Raspbian and Ubuntu install vim.tiny and vi.basic executables and then
use alternatives to avoid the conflict.
I don't very little about alternatives, but I guess something similar
must be possible on cygwin as well. Install them as vim.tiny.exe and
vim.basic.exe (or whatever the right name is) and add a postinstall
script to vim-minimal and update the existing postinstall script for
vim. The /etc/postinstall/vim.sh.done currently on my system uses
update-alternatives and refers to /usr/bin/vim-nox.exe but that is not
in /usr/bin. The postinstall of vim.common refers to vim-nox.exe as
well.
And I assume the order of running the postinstall scripts is important.
Regards,
Frank