vim.sh 330 Bytes
Newer Older
Őry Máté committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

# install xml.vim


mkdir -p ~/.vim/{ftplugin,indent}
cd ~/.vim
wget 'http://www.vim.org/scripts/download_script.php?src_id=16073' -O ftplugin/xml.vim
echo 'let b:did_indent = 1' > indent/xml.vim
for i in docbk xsl html xhtml
do
    ln -s xml.vim ftplugin/$i.vim
    echo 'let b:did_indent = 1' > indent/$i.vim
done