Variable: vertico-sort-history-duplicate

vertico-sort-history-duplicate is a customizable variable defined in vertico-sort.el.

Value

10

Documentation

History position shift for duplicate history elements.

The more often a duplicate element occurs in the history, the earlier it appears in the completion list. The shift decays exponentially with vertico-sort-history-decay. Note that duplicates occur only if history-delete-duplicates is disabled.

Source Code

;; Defined in ~/.emacs.d/elpa/vertico-20260913.1525/vertico-sort.el
(defcustom vertico-sort-history-duplicate 10
  "History position shift for duplicate history elements.
The more often a duplicate element occurs in the history, the earlier it
appears in the completion list.  The shift decays exponentially with
`vertico-sort-history-decay'.  Note that duplicates occur only if
`history-delete-duplicates' is disabled."
  :type 'number
  :group 'vertico)