This is the mail archive of the cygwin-apps 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]
Other format: [Raw text]

Re: [RFC] vim-minimal in Base?


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


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