Is it possible to use Ctrl+n style auto-completion when doing searches and substitution commands in vim?
What I mean is: say I have a variable named myNumber
in my current file. If I enter insert mode and type myNu
and then hit Ctrl+n, it will autocomplete the word to myNumber
(assuming there are no other words that start with those letters).
Is there any way to get this same functionality on the command line? Is there a setting or plugin that will allow me to type /myNu
and then hit a key to complete my text search to /myNumber
? Or, more realistically: let me type :s/myN
and complete that to :s/myNumber
so I can more quickly type out substitution commands?