Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install vim plugin under cygwin?

I installed a cygwin on my windows machine. There isn't a .vim directory in my cygwin home directory. How to install vim plugin in this case?

By the way, what plugins are suggested for HTML/CSS/JavaScript development?

Thanks!

like image 658
wqfeng Avatar asked Dec 15 '10 08:12

wqfeng


1 Answers

I have Cygwin installed on WinXP : I only had to create a .vim tree directory to make it work.

Basically, create a .vim directory in your ~/ and untar you plugins in there as recommended by khachik. It should create the appropriate subdirectories like autoload, doc, etc if your plugins are correctly packaged.

You'll also have to create a .vimrc in your ~/ if you want to configure your installation.

To work with HTML, I recommend to use the surround plugin by Tim Pope. It is great to add/remove tags quickly.

There is a cygwin/vim related question which can answer some of your concerns here : How do I use my .vimrc file in Cygwin?

like image 75
Xavier T. Avatar answered Sep 29 '22 09:09

Xavier T.