From b6954db601a159af01ac9d7bceace966abe2f89e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 11 Apr 2020 13:43:56 +0200 Subject: reduce set of common keys - You've already figured out `?` when you see this, so why mention it. - `Q` isn't that important, pressing `q` multiple times is good enough. --- mitmproxy/tools/console/defaultkeys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mitmproxy') diff --git a/mitmproxy/tools/console/defaultkeys.py b/mitmproxy/tools/console/defaultkeys.py index 8ed56361..a27fd85c 100644 --- a/mitmproxy/tools/console/defaultkeys.py +++ b/mitmproxy/tools/console/defaultkeys.py @@ -1,13 +1,13 @@ def map(km): km.add(":", "console.command ", ["commonkey", "global"], "Command prompt") - km.add("?", "console.view.help", ["commonkey", "global"], "View help") + km.add("?", "console.view.help", ["global"], "View help") km.add("B", "browser.start", ["global"], "Start an attached browser") km.add("C", "console.view.commands", ["global"], "View commands") km.add("K", "console.view.keybindings", ["global"], "View key bindings") km.add("O", "console.view.options", ["commonkey", "global"], "View options") km.add("E", "console.view.eventlog", ["commonkey", "global"], "View event log") - km.add("Q", "console.exit", ["commonkey", "global"], "Exit immediately") + km.add("Q", "console.exit", ["global"], "Exit immediately") km.add("q", "console.view.pop", ["commonkey", "global"], "Exit the current view") km.add("-", "console.layout.cycle", ["global"], "Cycle to next layout") km.add("shift tab", "console.panes.next", ["global"], "Focus next layout pane") -- cgit v1.2.3