Reputation:
Is it possible to have search suggestions for vim while typing in ? or / command? Im looking something like... aka neocomplete, fuzzyfinder... see the image.
Upvotes: 1
Views: 121
Reputation: 172540
After typing /
, you can press <C-f>
to open the command-line window. In it, you can select / search for previous search patterns, edit them (just like in a normal buffer), and use the current one via <Enter>
. You can also directly enter this mode via q/
. To recall a previously used search, <Up>
is quicker, though.
There are plugins that allow to complete words from the open buffer(s) into command-line mode. I use CmdlineComplete.
Upvotes: 3