aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-11-03 15:24:57 +0100
committerGravatar Tom Willemse2016-11-03 15:24:57 +0100
commita0edeb74f17267c8c667c9127c8ee2d045ed8de6 (patch)
treee451c6d1214fe41e28f7ab70cd863876454b83dd /emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org
parentd7c29efbc650430c56911ab8eada410355349d38 (diff)
downloadnew-dotfiles-a0edeb74f17267c8c667c9127c8ee2d045ed8de6.tar.gz
new-dotfiles-a0edeb74f17267c8c667c9127c8ee2d045ed8de6.zip
Fix filename error
Diffstat (limited to 'emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org')
-rw-r--r--emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org b/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org
new file mode 100644
index 0000000..48d9f41
--- /dev/null
+++ b/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org
@@ -0,0 +1,20 @@
+#+TITLE: Emacs lisp mode configuration
+
+Enable paredit mode to help always keep parentheses balanced.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'emacs-lisp-mode-hook 'paredit-mode)
+#+END_SRC
+
+Enable rainbow delimiters mode to help visualize the different
+parenthesized levels.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
+#+END_SRC
+
+Enable company mode to help complete long symbols and such.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'emacs-lisp-mode-hook 'company-mode)
+#+END_SRC