Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created March 6, 2010 10:11
Show Gist options
  • Select an option

  • Save defunkt/323619 to your computer and use it in GitHub Desktop.

Select an option

Save defunkt/323619 to your computer and use it in GitHub Desktop.
Installing mustache-mode.el

https://github.com/mustache/emacs

In your shell:

cd ~/.emacs.d/vendor
curl -O https://github.com/mustache/emacs/raw/master/mustache-mode.el

In your Emacs config:

(add-to-list 'load-path "~/.emacs.d/vendor/mustache-mode.el")
(require 'mustache-mode)
@idlecool

Copy link
Copy Markdown

if wget do not works for anyone, use curl
curl https://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el > mustache-mode.el

@jroes

jroes commented Apr 25, 2011

Copy link
Copy Markdown

I needed to use:

(require 'mustache-mode)

@defunkt

defunkt commented Apr 25, 2011

Copy link
Copy Markdown
Author

Thanks @idlecool and @jroes!

@shurizzle

Copy link
Copy Markdown

@bsnux

bsnux commented Jan 20, 2012

Copy link
Copy Markdown

@steder

steder commented Jul 3, 2012

Copy link
Copy Markdown

Yeah, you need to specify the raw url like bsnux or just tell curl to follow redirects. So this works as well:

curl -L -O https://github.com/mustache/emacs/raw/master/mustache-mode.el

@Wilfred

Wilfred commented Oct 12, 2014

Copy link
Copy Markdown

This package is now available on MELPA, and I'd strongly recommend installing it there. It's easy, it works, it's integrated nicely. http://melpa.milkbox.net/#/mustache-mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment