Variable: isearch-yank-on-move
isearch-yank-on-move is a customizable variable defined in
isearch.el.gz.
Value
nil
Documentation
Motion keys yank text to the search string while you move the cursor.
If shift, extend the search string by motion commands while holding down
the shift key. The search string is extended by yanking text that
ends at the new position after moving point in the current buffer.
If t, extend the search string without the shift key pressed.
To enable motion commands, put the isearch-move property on their
symbols to enabled, or to disable an automatically detected
shift-translated command, use the property value disabled.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defcustom isearch-yank-on-move nil
"Motion keys yank text to the search string while you move the cursor.
If `shift', extend the search string by motion commands while holding down
the shift key. The search string is extended by yanking text that
ends at the new position after moving point in the current buffer.
If t, extend the search string without the shift key pressed.
To enable motion commands, put the `isearch-move' property on their
symbols to `enabled', or to disable an automatically detected
shift-translated command, use the property value `disabled'."
:type '(choice (const :tag "Motion keys exit Isearch" nil)
(const :tag "Motion keys extend the search string" t)
(const :tag "Shifted motion keys extend the search string" shift))
:group 'isearch
:version "27.1")