Function: evil-ace-jump-char-to-mode

evil-ace-jump-char-to-mode is an interactive and byte-compiled function defined in evil-integration.el.

Signature

(evil-ace-jump-char-to-mode &optional COUNT)

Documentation

Jump visually to the char in front of a char using ace-jump.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-integration.el
(evil-define-motion evil-ace-jump-char-to-mode (_count)
  "Jump visually to the char in front of a char using ace-jump."
  :type inclusive
  (evil-without-repeat
    (let ((pnt (point))
          (buf (current-buffer)))
      (evil-enclose-ace-jump-for-motion
        (call-interactively 'ace-jump-char-mode))
      (if (and (equal buf (current-buffer))
               (< (point) pnt))
          (progn
            (or (eobp) (forward-char))
            (setq evil-this-type
                  (cond
                   ((eq evil-this-type 'exclusive) 'inclusive)
                   ((eq evil-this-type 'inclusive) 'exclusive))))
        (backward-char)))))