Fix /-foo searches.
This commit is contained in:
parent
71608af486
commit
844473e47a
@ -163,8 +163,8 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
|
|||||||
"""Execute the command currently in the commandline."""
|
"""Execute the command currently in the commandline."""
|
||||||
prefixes = {
|
prefixes = {
|
||||||
':': '',
|
':': '',
|
||||||
'/': 'search ',
|
'/': 'search -- ',
|
||||||
'?': 'search -r ',
|
'?': 'search -r -- ',
|
||||||
}
|
}
|
||||||
text = self.text()
|
text = self.text()
|
||||||
self.history.append(text)
|
self.history.append(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user