Browse Source

emacs.el: do not indent automatically in yaml-mode

pull/1/head
10sr 10 years ago
parent
commit
cb74fc2aa9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -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")


Loading…
Cancel
Save