Function: eshell-forward-matching-input

eshell-forward-matching-input is an interactive and byte-compiled function defined in em-prompt.el.gz.

Signature

(eshell-forward-matching-input REGEXP ARG)

Documentation

Search forward through buffer for match for REGEXP.

Matches are searched for on lines that match eshell-prompt-regexp. With prefix argument N, search for Nth following match. If N is negative, find the previous or Nth previous match.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-prompt.el.gz
(defun eshell-forward-matching-input (regexp arg)
  "Search forward through buffer for match for REGEXP.
Matches are searched for on lines that match `eshell-prompt-regexp'.
With prefix argument N, search for Nth following match.
If N is negative, find the previous or Nth previous match."
  (interactive (eshell-regexp-arg "Forward input matching (regexp): "))
  (eshell-backward-matching-input regexp (- arg)))