VimHistoryController.nextMatch method
VimHistoryController › nextMatch
Unofficial
Walk to the next history entry starting with the given input.Signature:
nextMatch(input: string, up: boolean): string | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| input | string | The prefix to match, which is the text the user typed before starting to walk. |
| up | boolean | Whether to walk towards older entries. |
Returns: string | undefined — The matching entry, or undefined when there is none.