PracticalVim Tip81 - yszheda/wiki GitHub Wiki

Table of Contents

Tip 81: Preview the First Match Before Execution

Return to the top: <>

  • show a preview of the first match based on what has been entered so far into the search field by enabled with the 'incsearch' setting

References:

Check for the Existence of a Match

Autocomplete the Search Field Based on Preview Match

  • ``
  • _NOTE_: If you prefix your search with the `\v` item, then `` will complete the entire word under the cursor (creating `/\vcarrcarrot` rather than `/\vcarrot` , for example) instead of the remainder of the word.
⚠️ **GitHub.com Fallback** ⚠️