On 2013-05-16, Kenneth Salerno wrote: > Where: vim-7.3.943-1 > > Issue: vim-common-7.3.943-1 contains > /usr/share/vim/vim73/colors/elflord.vim which utilizes the command > "let g:colors_name = "elflord", this command is not found in > /usr/bin/vim-nox from package vim-7.3.943-1 > > Fix: downgrade to vim-7.3.762-1 > > Details: > > kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe > vim-7.3.943-1 > > kens@thinkpad$ vi > Error detected while processing /home/kens/.exrc: > line 1: > E319: Sorry, the command is not available in this version: :syntax on > Error detected while processing /usr/share/vim/vim73/colors/elflord.vim: > line 12: > E319: Sorry, the command is not available in this version: let g:colors_name > = "elflord" > Press ENTER or type command to continue > > [DOWNGRADE TO VIM-7.3.762-1] > kens@thinkpad$ cygcheck -f /usr/bin/vim-nox.exe > vim-7.3.762-1 > > kens@thinkpad$ vi > ~ > ~ > :colorscheme > elflord
This is not a bug. See Yaakov's announcement in the list on May 12, "[ANNOUNCEMENT] Updated: vim-7.3.943-1". He explains that the packaging scheme has been changed and that /usr/bin/vi is now Vim compiled with the "small" feature set. The "small" feature set does not include the +syntax or +eval feature and does not support either the :syntax or :let command. If you want to use those commands, run vim and not vi, or alias vi to vim. If you want to use the "small" vi, you'll have to adjust your ~/.vimrc to avoid using commands that are not supported. See :help no-eval-feature Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple