conf-emacs/stuff/tuareg.el

22 lines
383 B
EmacsLisp
Raw Normal View History

2012-10-13 19:35:28 +00:00
(defun tuareg-mode-setup ()
;; BINDINGS
;; comment
(define-key
tuareg-mode-map
[(control c) (control c)]
'comment-region)
;; insert fixme
(define-key
tuareg-mode-map
[(control c) (control f)]
'insert-fixme)
;; MISC
(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
)
(add-hook 'tuareg-load-hook 'tuareg-mode-setup)