Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.717 kb
;;; setup.el --- setup yasnippets for use with rails
(require 'yasnippet)
(concat (file-name-directory (or load-file-name buffer-file-name))
;;; If you are using MuMaMo or nxml, you will need to tweak the mumamo
;;; keymap to let tab work for yasnippets
(if (boundp 'mumamo:version)
((setq mumamo-map
(let ((map (make-sparse-keymap)))
(define-key map [(control meta prior)] 'mumamo-backward-chunk)
(define-key map [(control meta next)] 'mumamo-forward-chunk)
(define-key map [tab] 'yas/expand)
(mumamo-add-multi-keymap 'mumamo-multi-major-mode mumamo-map)))
;;; setup.el ends here
Jump to Line
Something went wrong with that request. Please try again.