aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom')
-rw-r--r--config/doom/config.org14
-rw-r--r--config/doom/init.el2
2 files changed, 14 insertions, 2 deletions
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