Created
March 6, 2010 10:11
-
-
Save defunkt/323619 to your computer and use it in GitHub Desktop.
Installing mustache-mode.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; $ 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) |
I needed to use:
(require 'mustache-mode)
curl -o mustache-mode.el https://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el
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
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
if wget do not works for anyone, use curl
curl https://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el > mustache-mode.el