Command Line
Download the file
wget http://www.whatever.com/plugin.zip
Move the file to /usr/share/vim/vimfiles/
sudo mv plugin.zip /usr/share/vim/vimfiles/
PASSWORD
Extract the file
For ZIPS:
sudo unzip plugin.zip
For tar.gz:
sudo tar -xvwzf plugin.tar.gz
If this ends up creating a directory instead of extracting the files, do the following steps.
cd into the folder
cd created-folder
Move its contents
sudo mv ./ ..
You can now start using the plugin. But beware, for many plugins you are also required to edit the vim configuration file at /etc/vim/vimconfig
My Clojure plugin needed syntax highlighting and and filetype plugin indent on. Your README file (if there is one) should tell you what to do.
Graphically



Plop it into /usr/share/vim/vimfiles/ and extract it.
If the README file specifies it, edit the vimrc file found in /etc/vim/vimrc/
This is usually just a matter of uncommenting a few lines. I had to uncomment syntax highlighting and file auto indent.
No comments:
Post a Comment