From 844473e47ab62c327a574f40257354d3478705de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 24 Apr 2015 17:25:53 +0200 Subject: [PATCH] Fix /-foo searches. --- qutebrowser/mainwindow/statusbar/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index 0803cfd48..1d8105c2f 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -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)