diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index dd19a88..c566f67 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -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