From 686ce4b560383540034fc51021572f158ef5ca49 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 8 May 2018 23:50:22 -0700 Subject: Enable electric indent mode in C++ mode --- emacs/.emacs.d/init.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 5310a6b..abcfc33 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1301,6 +1301,12 @@ Computing Environment". (add-hook 'c++-mode-hook 'fci-mode) #+END_SRC + Turn on 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 -- cgit v1.3-2-g0d8e