Vim Tips Wiki

Use this page to discuss script 474 SearchComplete: tab completion of words inside of a search

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


SearchComplete breaks the expected functionality of {c|d|y}/pattern, effectively reducing them to /pattern.

SearchComplete breaks use of /<Up> to search history on some systems - it seems like it is specifically a problem in non-gui vim compiled as 64bit displayed within a terminal emulator. This problem results in typing "/<Up>" switching to Insert mode and inserting the letter 'A' on a new line, instead of searching the history. I tried to figure out the bug, but I couldn't. Removing SearchComplete fixes the problem.