Variable: evil-transient-mouse-selection

evil-transient-mouse-selection is a variable defined in evil-vars.el.

Value

nil

Documentation

Whether the region selected by the mouse is discarded by the next command.

By default, the region is not discarded. If non-nil, exit visual state immediately before the next command. To use the region selected by the mouse, execute a command which would usually enter visual state, such as M-x evil-visual-char (evil-visual-char) or M-x evil-visual-block (evil-visual-block).

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defvar evil-transient-mouse-selection nil
  "Whether the region selected by the mouse is discarded by the next command.
By default, the region is not discarded.  If non-nil, exit visual state
immediately before the next command.  To use the region selected by the mouse,
execute a command which would usually enter visual state, such as
\\[evil-visual-char] or \\[evil-visual-block].")