aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/config.org
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-04-24 18:50:10 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-04-24 18:50:10 +0200
commit15c9269c272125e254be091aee8b9ca06d2a93a4 (patch)
tree87f7ca5f48f4543b635dbe998d0534a7407b7497 /config/doom/config.org
parent1d7da1821fece96c95d6eda4c6132f847fa99260 (diff)
downloaddotfiles-15c9269c272125e254be091aee8b9ca06d2a93a4.tar.gz
dotfiles-15c9269c272125e254be091aee8b9ca06d2a93a4.tar.bz2
dotfiles-15c9269c272125e254be091aee8b9ca06d2a93a4.zip
use smartparens instead of lispy at the moment
Diffstat (limited to 'config/doom/config.org')
-rw-r--r--config/doom/config.org14
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