diff options
author | Tom Willemse | 2017-11-13 13:37:17 -0800 |
---|---|---|
committer | Tom Willemse | 2017-11-13 13:37:17 -0800 |
commit | 888627cd2ea8a9e2f613eb9667c424725678b007 (patch) | |
tree | 9b4f28be73af9e9e1da6ca76f46306be55413baf /emacs/.emacs.d | |
parent | 3f54ab2ddd126b1d9d8c570eb5cccec2b649f58c (diff) | |
download | new-dotfiles-888627cd2ea8a9e2f613eb9667c424725678b007.tar.gz new-dotfiles-888627cd2ea8a9e2f613eb9667c424725678b007.zip |
Add C config
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.org | 14 |
1 files changed, 14 insertions, 0 deletions
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 |