aboutsummaryrefslogtreecommitdiffstats
path: root/config
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
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')
-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