dotfiles/emacs/.emacs.d/init/sh-mode-init.org

14 lines
302 B
Org Mode
Raw Normal View History

2016-10-14 00:57:27 +02:00
#+TITLE: Shell Script
Enable electric pairing in shell script buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'sh-mode-hook 'electric-pair-local-mode)
#+END_SRC
Enable electric indentation in shell script buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'sh-mode-hook 'electric-indent-local-mode)
#+END_SRC