summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-11-14 13:49:44 +0100
committerGravatar Tom Willemse2014-11-14 13:49:44 +0100
commitcf47f738fad241e04072f271652172fb21b2e3d9 (patch)
tree16d55f548e418af2df257117a52796cca553c449 /emacs/.emacs.d/init.org
parent5a92369dc1f9e1929e1e5c77fa1603d5e39c3086 (diff)
downloaddotfiles-cf47f738fad241e04072f271652172fb21b2e3d9.tar.gz
dotfiles-cf47f738fad241e04072f271652172fb21b2e3d9.zip
Add CSS settings to literate init
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 50f0452..e0efc4d 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1223,6 +1223,15 @@
(add-hook 'js2-mode-hook #'electric-indent-local-mode)
#+END_SRC
+** CSS
+
+ Turn on electric indent and electric pair modes for CSS.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'css-mode-hook #'electric-indent-local-mode)
+ (add-hook 'css-mode-hook #'oni:electric-pair-local-mode)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I