[RFC] vim-minimal in Base?

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon May 20 08:16:00 GMT 2013


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



More information about the Cygwin-apps mailing list