Installing and Using
Be aware that it must be added before any
filetype plugin indent onlines according to the install page:
Note that you need to invoke the pathogen functions before invoking "filetype plugin indent on" if you want it to load ftdetect files. On Debian (and probably other distros), the system vimrc does this early on, so you actually need to "filetype off" before "filetype plugin indent on" to force reloading.
Create, and change into, the
$ mkdir -p ~/.vim/bundle $ cd ~/.vim/bundle
Make a clone of the
$ git clone git://github.com/lunaru/vim-less.git [...] $ ls vim-less/
That's it. Pathogen should handle the rest. Opening a file with a
extension will load everything.
Change into the
$ cd ~/.vim/bundle/vim-less
Pull in the latest changes:
$ git pull
Everything will then be brought up to date.