Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing mustache-mode.el

mustache-mode.el

In your shell:

cd ~/.emacs.d/vendor
wget http://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el

In your Emacs config:

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

This comment has been minimized.

Show comment Hide comment
@idlecool

idlecool Apr 23, 2011

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

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

This comment has been minimized.

Show comment Hide comment
@jroes

jroes Apr 25, 2011

I needed to use:

(require 'mustache-mode)

jroes commented Apr 25, 2011

I needed to use:

(require 'mustache-mode)

@defunkt

This comment has been minimized.

Show comment Hide comment
@defunkt

defunkt Apr 25, 2011

Thanks @idlecool and @jroes!

Owner

defunkt commented Apr 25, 2011

Thanks @idlecool and @jroes!

@shurizzle

This comment has been minimized.

Show comment Hide comment
@steder

This comment has been minimized.

Show comment Hide comment
@steder

steder Jul 3, 2012

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

steder commented Jul 3, 2012

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

This comment has been minimized.

Show comment Hide comment
@Wilfred

Wilfred Oct 12, 2014

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

Wilfred commented Oct 12, 2014

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