Fix #87: evil-matchit in visual mode
This commit is contained in:
parent
48c97bcc7f
commit
dd11477132
2 changed files with 1 additions and 8 deletions
|
@ -2,12 +2,6 @@
|
|||
|
||||
(eval-when-compile (require 'subr-x))
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil/matchit ()
|
||||
"Invoke `evil-matchit', but silently."
|
||||
(interactive)
|
||||
(ignore-errors (call-interactively #'evilmi-jump-items)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil/visual-indent ()
|
||||
"vnoremap < <gv"
|
||||
|
|
|
@ -276,8 +276,7 @@ across windows."
|
|||
:commands (evilmi-jump-items evilmi-text-object global-evil-matchit-mode)
|
||||
:config (global-evil-matchit-mode 1)
|
||||
:init
|
||||
(map! [remap evil-jump-item] #'+evil/matchit
|
||||
[remap evilmi-jump-items] #'+evil/matchit
|
||||
(map! [remap evil-jump-item] #'evilmi-jump-items
|
||||
:textobj "%" #'evilmi-text-object #'evilmi-text-object)
|
||||
:config
|
||||
(defun +evil|simple-matchit ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue