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.
This commit is contained in:
Tom Willemse 2016-10-08 23:02:55 +02:00
parent d2646d4d6d
commit 154eb950f9

View file

@ -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