summary refs log tree commit diff stats
path: root/user
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
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')
-rw-r--r--user/emacs/init.el10
-rw-r--r--user/settings/emacs.nix3
2 files changed, 11 insertions, 2 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))
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 07edd7f3..9ccb7935 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -122,12 +122,13 @@ in
         helpful
         json-mode
         lua-mode
+        lispy
+        lispyville
         magit
         markdown-mode
         modus-themes
         doom-modeline
         org-journal
-        paredit
         posframe
         projectile
         projectile-ripgrep