Add cleverparens to all the languages
May not appreciate this.
This commit is contained in:
parent
1e8e04a4c4
commit
f703b6a151
1 changed files with 10 additions and 9 deletions
|
@ -283,17 +283,18 @@ However, most of my Emacs Lisp code is in literate org files.
|
||||||
The [[https://github.com/luxbock/evil-cleverparens][evil-cleverparens]] solves having me create keybindings to the [[https://github.com/Fuco1/smartparens][smartparens]] project by updating the evil states with Lisp-specific bindings.
|
The [[https://github.com/luxbock/evil-cleverparens][evil-cleverparens]] solves having me create keybindings to the [[https://github.com/Fuco1/smartparens][smartparens]] project by updating the evil states with Lisp-specific bindings.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package evil-cleverparens
|
(use-package evil-cleverparens
|
||||||
:after smartparens-mode
|
:after smartparens-mode
|
||||||
:custom
|
:custom
|
||||||
evil-cleverparens-use-additional-bindings t
|
evil-cleverparens-use-additional-bindings t
|
||||||
evil-cleverparens-use-additional-movement-keys t
|
evil-cleverparens-use-additional-movement-keys t
|
||||||
evil-cleverparens-use-s-and-S nil ; using evil-sniper
|
evil-cleverparens-use-s-and-S nil ; using evil-sniper
|
||||||
|
|
||||||
:init
|
:init
|
||||||
(require 'evil-cleverparens-text-objects)
|
(require 'evil-cleverparens-text-objects)
|
||||||
|
|
||||||
:hook (emacs-lisp-mode . evil-cleverparens-mode))
|
:hook (prog-mode . evil-cleverparens-mode)) ;; All the languages!
|
||||||
|
;; Otherwise: (emacs-lisp-mode . evil-cleverparens-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
I would like to have a list of what keybindings do what:
|
I would like to have a list of what keybindings do what:
|
||||||
|
|
Loading…
Reference in a new issue