Add evil-embrace + integrate with evil-surround
This commit is contained in:
parent
63b8204b91
commit
4b559d5637
2 changed files with 7 additions and 2 deletions
|
@ -352,13 +352,17 @@
|
|||
(cons '(?\\ . narf/evil-surround-escaped)
|
||||
evil-surround-pairs-alist))
|
||||
|
||||
(add-hook! org-mode
|
||||
(push '(?l . narf/evil-surround-latex) evil-surround-pairs-alist))
|
||||
(add-hook! emacs-lisp-mode
|
||||
(push '(?\` . ("`" . "'")) evil-surround-pairs-alist))
|
||||
(add-hook! python-mode
|
||||
(push '((?d . ("\"\"\"" . "\"\"\""))) evil-surround-pairs-alist)))
|
||||
|
||||
(use-package evil-embrace
|
||||
:after evil-surround
|
||||
:config
|
||||
(evil-embrace-enable-evil-surround-integration)
|
||||
(embrace-add-pair-regexp ?\\ "\\[[{(]" "\\[]})]" 'narf/evil-surround-escaped))
|
||||
|
||||
(use-package evil-visualstar
|
||||
:commands (global-evil-visualstar-mode
|
||||
evil-visualstar/begin-search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue