Reputation: 553
Vim behaves weirdly under Cygwin. I follow this instruction and realize that in my /bin
there's only vi.exe
, no vim.exe
! So I put the .vimrc
example from Vim Wiki into a .virc
in home directory. When I run vi
, I get the following error:
Error detected while processing /home/USER/.virc:
line 21:
E319: Sorry, the command is not available in this version: filetype indent plugin on
line 24:
E319: Sorry, the command is not available in this version: syntax on
line 113:
E538: No mouse support: mouse=a
My question is:
vim.exe
? If it is, how can I do that (under Cygwin) ? Thanks
Upvotes: 1
Views: 2076
Reputation: 881113
Go back and run the CygWin setup.exe
again and ensure you install absolutely everything (a) rather than just the defaults.
Disk space is cheap, time spent trying to figure out which package various things are in (b) is not :-)
(a) You do this by clicking on the "tail chasing arrows" at the top level until it says "Install" (see below image (b) for an example of the arrows, though those particular ones aren't at the top level).
(b) Vim is in Editors
by the way, and it defaults to skip:
Upvotes: 4