aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-08 23:02:55 +0200
committerGravatar Tom Willemse2016-10-08 23:02:55 +0200
commit154eb950f9f24133dbf8bb17caa33aca78b82760 (patch)
tree7c4b0ed992e18416c30d9efa6a2a4c0c17627a9d /emacs
parentd2646d4d6d09ae392c82d04091947446080a0716 (diff)
downloadnew-dotfiles-154eb950f9f24133dbf8bb17caa33aca78b82760.tar.gz
new-dotfiles-154eb950f9f24133dbf8bb17caa33aca78b82760.zip
Use electric pair instead of paredit in minibuffer
Paredit mode is too aggressive with it’s keybindings, I did not realize that this would also be used by ivy and the like. Using paredit in ivy overwrites some important keybindings such as C-j.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index e34aeb5..4bac09a 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -498,7 +498,7 @@ To start off, first I need to enable lexical binding.
Enable paredit mode in the minibuffer.
#+BEGIN_SRC emacs-lisp
- (add-hook 'minibuffer-setup-hook 'paredit-mode)
+ (add-hook 'minibuffer-setup-hook 'electric-pair-local-mode)
#+END_SRC
* Minor modes