Skip to content

VimSearchState.getQuery method

VimSearchState › getQuery

Unofficial

Get the current search query.

Signature:

getQuery(): null | RegExp

Returns: null | RegExpThe query, or null when nothing has been searched for yet.