diff options
author | Tom Willemse | 2018-05-08 23:50:22 -0700 |
---|---|---|
committer | Tom Willemse | 2018-05-08 23:50:22 -0700 |
commit | 686ce4b560383540034fc51021572f158ef5ca49 (patch) | |
tree | d81d8de18e82a6056149c2ba8d86688679311391 /emacs/.emacs.d | |
parent | 0cd94161b166174e4c9ad2ada26afdedcb7566f3 (diff) | |
download | new-dotfiles-686ce4b560383540034fc51021572f158ef5ca49.tar.gz new-dotfiles-686ce4b560383540034fc51021572f158ef5ca49.zip |
Enable electric indent mode in C++ mode
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.org | 6 |
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 |