all repos — nixfiles @ 0a42ff72d0288fe23e1751924a036649669f1ded

System and user configuration, managed by nix and home-manager

Emacs: Disable autopair in yaml-mode

It seems that the annoying indent-on-return behaviour can't easily be
disabled.
Alan Pearce alan@alanpearce.co.uk
Sat, 19 Apr 2014 08:41:20 +0100
commit

0a42ff72d0288fe23e1751924a036649669f1ded

parent

d1e8149cc3af36cd790b0d9e9029d477e9f4d1a2

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -616,9 +616,7 @@ (use-package yaml-mode
   :mode (("/group_vars/.*" . yaml-mode)
          ("/host_vars/.*" . yaml-mode)
-         ("\\.sls\\'" . yaml-mode))
-  :config (progn
-            (add-hook 'yaml-mode-hook #'autopair-mode)))
+         ("\\.sls\\'" . yaml-mode)))
 
 ;;;; Planning