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))
|
(eval-when-compile (require 'subr-x))
|
||||||
|
|
||||||
;;;###autoload
|
|
||||||
(defun +evil/matchit ()
|
|
||||||
"Invoke `evil-matchit', but silently."
|
|
||||||
(interactive)
|
|
||||||
(ignore-errors (call-interactively #'evilmi-jump-items)))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +evil/visual-indent ()
|
(defun +evil/visual-indent ()
|
||||||
"vnoremap < <gv"
|
"vnoremap < <gv"
|
||||||
|
|
|
@ -276,8 +276,7 @@ across windows."
|
||||||
:commands (evilmi-jump-items evilmi-text-object global-evil-matchit-mode)
|
:commands (evilmi-jump-items evilmi-text-object global-evil-matchit-mode)
|
||||||
:config (global-evil-matchit-mode 1)
|
:config (global-evil-matchit-mode 1)
|
||||||
:init
|
:init
|
||||||
(map! [remap evil-jump-item] #'+evil/matchit
|
(map! [remap evil-jump-item] #'evilmi-jump-items
|
||||||
[remap evilmi-jump-items] #'+evil/matchit
|
|
||||||
:textobj "%" #'evilmi-text-object #'evilmi-text-object)
|
:textobj "%" #'evilmi-text-object #'evilmi-text-object)
|
||||||
:config
|
:config
|
||||||
(defun +evil|simple-matchit ()
|
(defun +evil|simple-matchit ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue