Enable electric indent mode in C++ mode

This commit is contained in:
Tom Willemse 2018-05-08 23:50:22 -07:00
parent 0cd94161b1
commit 686ce4b560

View file

@ -1301,6 +1301,12 @@ Computing Environment".
(add-hook 'c++-mode-hook 'fci-mode) (add-hook 'c++-mode-hook 'fci-mode)
#+END_SRC #+END_SRC
Turn on electric indent mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'c++-mode-hook 'electric-indent-local-mode)
#+END_SRC
* Applications * Applications
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it - [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it