Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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

This comment has been minimized.

Copy link

@d2s d2s commented Jan 19, 2011

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'.

This comment has been minimized.

Copy link

@avidal avidal commented Jan 25, 2011

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


This comment has been minimized.

Copy link

@rsp rsp commented Feb 2, 2011

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


This comment has been minimized.

Copy link

@juvenn juvenn commented Apr 29, 2011

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


This comment has been minimized.

Copy link

@shime shime commented Jun 7, 2013

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
You can’t perform that action at this time.