Add C config

This commit is contained in:
Tom Willemse 2017-11-13 13:37:17 -08:00
parent 3f54ab2ddd
commit 888627cd2e

View file

@ -1067,6 +1067,20 @@ Computing Environment".
(add-hook 'cider-repl-mode-hook 'paredit-mode)
#+END_SRC
** C Mode
Enable electric pair mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'c-mode-hook 'electric-pair-local-mode)
#+END_SRC
Enable electric indent mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'c-mode-hook 'electric-indent-local-mode)
#+END_SRC
* Applications
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it