From cb74fc2aa9101c1b7bbd103deaa5630be67f34d0 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 25 Jul 2014 14:34:43 +0900 Subject: [PATCH] emacs.el: do not indent automatically in yaml-mode --- emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index d23a2d3..6cee9af 100644 --- a/emacs.el +++ b/emacs.el @@ -969,6 +969,11 @@ found, otherwise returns nil." (setq auto-mode-alist (append '(("PKGBUILD\\'" . pkgbuild-mode)) auto-mode-alist))) +(add-hook 'yaml-mode-hook + (lambda () + (define-key yaml-mode-map (kbd "C-m") + 'newline))) + (add-hook 'html-mode-hook (lambda () (define-key html-mode-map (kbd "C-m")