aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-05-08 23:50:22 -0700
committerGravatar Tom Willemse2018-05-08 23:50:22 -0700
commit686ce4b560383540034fc51021572f158ef5ca49 (patch)
treed81d8de18e82a6056149c2ba8d86688679311391 /emacs/.emacs.d/init.org
parent0cd94161b166174e4c9ad2ada26afdedcb7566f3 (diff)
downloadnew-dotfiles-686ce4b560383540034fc51021572f158ef5ca49.tar.gz
new-dotfiles-686ce4b560383540034fc51021572f158ef5ca49.zip
Enable electric indent mode in C++ mode
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org6
1 files changed, 6 insertions, 0 deletions
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