diff options
Diffstat (limited to 'config/doom/config.org')
-rw-r--r-- | config/doom/config.org | 14 |
1 files changed, 13 insertions, 1 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 |