mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #87: evil-matchit in visual mode
This commit is contained in:
@ -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 ()
|
||||||
|
Reference in New Issue
Block a user