Fix /-foo searches.

This commit is contained in:
Florian Bruhin 2015-04-24 17:25:53 +02:00
parent 71608af486
commit 844473e47a

View File

@ -163,8 +163,8 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
"""Execute the command currently in the commandline."""
prefixes = {
':': '',
'/': 'search ',
'?': 'search -r ',
'/': 'search -- ',
'?': 'search -r -- ',
}
text = self.text()
self.history.append(text)