USe electric modes in sh-mode

This commit is contained in:
Tom Willemse 2015-09-03 15:59:08 +02:00
parent 184ec5d2fc
commit 3311bcd8e0

View file

@ -1147,6 +1147,7 @@
(add-hook 'php-mode-hook #'electric-indent-local-mode) (add-hook 'php-mode-hook #'electric-indent-local-mode)
(add-hook 'ruby-mode-hook #'electric-indent-local-mode) (add-hook 'ruby-mode-hook #'electric-indent-local-mode)
(add-hook 'scss-mode-hook #'electric-indent-local-mode) (add-hook 'scss-mode-hook #'electric-indent-local-mode)
(add-hook 'sh-mode-hook #'electric-indent-local-mode)
#+END_SRC #+END_SRC
*** Switch keys back *** Switch keys back
@ -1209,6 +1210,7 @@
(add-hook 'python-mode-hook #'electric-pair-local-mode) (add-hook 'python-mode-hook #'electric-pair-local-mode)
(add-hook 'ruby-mode-hook #'electric-pair-local-mode) (add-hook 'ruby-mode-hook #'electric-pair-local-mode)
(add-hook 'scss-mode-hook #'electric-pair-local-mode) (add-hook 'scss-mode-hook #'electric-pair-local-mode)
(add-hook 'sh-mode-hook #'electric-pair-local-mode)
#+END_SRC #+END_SRC
** Auto completion ** Auto completion