Skip to content

@defunkt /

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Installing mustache.vim


In your shell:

cd ~/.vim
git clone git://
mv mustache.vim/syntax/* syntax/
mv mustache.vim/indent/* indent/
mv mustache.vim/ftdetect/* ftdetect/
rm -rf mustache.vim

When trying to use aforementioned wget command, the program complains:

ERROR: certificate common name `*' doesn't match requested host name `'.
To connect to insecurely, use `--no-check-certificate'.

Getting anything on github over wget results in the same error. It's a bit of a pain in the ass.

rsp commented

Following the instructions in this gist will install an old version (from 2009 Oct 15) of only:


by Juvenn Woo. See for a newer version (from Jan 16th 2011 as of this writing) of all of the:


If you install all of those files there's no need to add anything to ~/.vim/filetype.vim for Vim to detect the file type. Also, it will use the HTML indentation rules.

I write it because this gist is linked on


Mustache.vim has been updated to support matchit, thanks to 5long. Follow the readme to update.


Change mv mustache.vim/indent/* indent/ to mv mustache.vim/ftplugin/* ftplugin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.