From 825f569e2d16af30df074f4a40fa53d69ca6cd78 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 29 Oct 2016 16:37:04 +0200 Subject: Move Emacs Lisp config, add rainbow delimiters, company --- emacs/.emacs.d/init/oni-emacs-lisp-mode.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 emacs/.emacs.d/init/oni-emacs-lisp-mode.org (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/oni-emacs-lisp-mode.org b/emacs/.emacs.d/init/oni-emacs-lisp-mode.org new file mode 100644 index 0000000..48d9f41 --- /dev/null +++ b/emacs/.emacs.d/init/oni-emacs-lisp-mode.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 -- cgit v1.2.3-54-g00ecf