From 15c9269c272125e254be091aee8b9ca06d2a93a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 24 Apr 2021 18:50:10 +0200 Subject: use smartparens instead of lispy at the moment --- config/doom/config.org | 14 +++++++++++++- config/doom/init.el | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/doom/config.org b/config/doom/config.org index dff61c9..a8edd6f 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -47,6 +47,18 @@ Because I always need help and it should come up quickly #+begin_src emacs-lisp (setq which-key-idle-delay 0.1) #+end_src +** Smartparens +#+begin_src emacs-lisp +(after! smartparens + (map! + :map smartparens-mode-map + :nvie "C-)" #'sp-forward-slurp-sexp + :nvie "C-}" #'sp-forward-barf-sexp + :nvie "C-(" #'sp-backward-slurp-sexp + :nvie "C-{" #'sp-backward-barf-sexp + :nie "M-s" #'sp-split-sexp + :nie "M-j" #'sp-join-sexp)) +#+end_src * Dictionary #+begin_src emacs-lisp :tangle "packages.el" (package! lexic) @@ -226,7 +238,7 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary (after! haskell-mode (setq haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" - "--ghc-option=-dynamic") + "--ghc-options=-dynamic") dante-repl-command-line '("cabal" "v2-repl" dante-target "--ghc-options=-dynamic"))) (use-package! hindent diff --git a/config/doom/init.el b/config/doom/init.el index 3655553..5ba67ea 100644 --- a/config/doom/init.el +++ b/config/doom/init.el @@ -57,7 +57,7 @@ fold ; (nigh) universal code folding (format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys - lispy ; vim for lisp, for people who don't like vim + ;; lispy ; vim for lisp, for people who don't like vim ;;multiple-cursors ; editing in many places at once ;;objed ; text object editing for the innocent ;;parinfer ; turn lisp into python, sort of -- cgit v1.2.3