diff options
author | Maximilian Hils <github@maximilianhils.com> | 2020-04-11 13:43:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 13:43:56 +0200 |
commit | b6954db601a159af01ac9d7bceace966abe2f89e (patch) | |
tree | 3fac96f6336876812507e1cf92447ae8d42d96c6 /mitmproxy | |
parent | 54145360a3bc296ddea4b83711f3b14f45f1188d (diff) | |
download | mitmproxy-b6954db601a159af01ac9d7bceace966abe2f89e.tar.gz mitmproxy-b6954db601a159af01ac9d7bceace966abe2f89e.tar.bz2 mitmproxy-b6954db601a159af01ac9d7bceace966abe2f89e.zip |
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.
Diffstat (limited to 'mitmproxy')
-rw-r--r-- | mitmproxy/tools/console/defaultkeys.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |