summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-03-30 20:22:42 +0200
committerAlan Pearce2023-03-30 20:22:42 +0200
commit7578a1f8b70615ce7f4d036369ccfe4680268f40 (patch)
treed5916c18e91b1e87d1c42a1a90a4ffe6b76cfa4b /user/emacs
parentdba46b2b648938f18b0ee97b5d121dbeb7fa5dc0 (diff)
downloadnixfiles-7578a1f8b70615ce7f4d036369ccfe4680268f40.tar.lz
nixfiles-7578a1f8b70615ce7f4d036369ccfe4680268f40.tar.zst
nixfiles-7578a1f8b70615ce7f4d036369ccfe4680268f40.zip
emacs: make lisp editing more evil with lispyville
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 29d1840e..60256a53 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -686,6 +686,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               tab-width 2
               tab-always-indent 'complete)
 
+(electric-pair-mode +1)
+
 (use-package ws-butler
   :ghook ('prog-mode-hook))
 
@@ -786,7 +788,13 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package rainbow-delimiters
   :ghook ('clojure-mode-hook
           'emacs-lisp-mode-hook))
-(use-package paredit
+
+(use-package lispy
+  :ghook '(emacs-lisp-mode-hook
+           clojure-mode-hook
+           racket-mode-hook))
+
+(use-package lispyville
   :ghook '(emacs-lisp-mode-hook
            clojure-mode-hook
            racket-mode-hook))