If you search something in Vim by prepending searchterm with a forward slash, e.g. /searchterm
, Vim puts that searchterm into the search string history table. You then are able to navigate through past search terms by typing in forward slash (/
) and using Up/Down arrow keys.
That search string history table is persistent across Vim restarts.
Everything above is also true for command (typed with :
prepended) history table.
How do I clear those history tables?