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:
parent
d2646d4d6d
commit
154eb950f9
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ To start off, first I need to enable lexical binding.
|
||||||
Enable paredit mode in the minibuffer.
|
Enable paredit mode in the minibuffer.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'minibuffer-setup-hook 'paredit-mode)
|
(add-hook 'minibuffer-setup-hook 'electric-pair-local-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Minor modes
|
* Minor modes
|
||||||
|
|
Loading…
Reference in a new issue