Variable: consult-mode-histories

consult-mode-histories is a customizable variable defined in consult.el.

Value

((eshell-mode eshell-history-ring eshell-history-index eshell-bol)
 (comint-mode comint-input-ring comint-input-ring-index comint-bol)
 (term-mode term-input-ring term-input-ring-index term-bol))

Documentation

Alist of mode histories (mode history index bol).

The histories can be rings or lists. Index, if provided, is a variable to set to the index of the selection within the ring or list. Bol, if provided is a function which jumps to the beginning of the line after the prompt.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defcustom consult-mode-histories
  '((eshell-mode eshell-history-ring eshell-history-index    eshell-bol)
    (comint-mode comint-input-ring   comint-input-ring-index comint-bol)
    (term-mode   term-input-ring     term-input-ring-index   term-bol))
  "Alist of mode histories (mode history index bol).
The histories can be rings or lists.  Index, if provided, is a
variable to set to the index of the selection within the ring or
list.  Bol, if provided is a function which jumps to the beginning
of the line after the prompt."
  :type '(alist :key-type symbol
                :value-type (group :tag "Include Index"
                                   (symbol :tag "List/Ring")
                                   (symbol :tag "Index Variable")
                                   (symbol :tag "Bol Function"))))