aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-15 10:34:55 +1200
committerAldo Cortesi <aldo@corte.si>2018-05-15 10:34:55 +1200
commit2db223decbf2aecb80aa3adc96643e84100bbb22 (patch)
tree219b177da9b95c1e99a8ce658fbdd9c34bdeda51 /examples
parentfe4c371001c0c9f1895e3ed6dea7506617b5e3cb (diff)
downloadmitmproxy-2db223decbf2aecb80aa3adc96643e84100bbb22.tar.gz
mitmproxy-2db223decbf2aecb80aa3adc96643e84100bbb22.tar.bz2
mitmproxy-2db223decbf2aecb80aa3adc96643e84100bbb22.zip
docs: console key binding docs and example
Diffstat (limited to 'examples')
-rw-r--r--examples/keys.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/keys.yaml b/examples/keys.yaml
new file mode 100644
index 00000000..a2b3d66a
--- /dev/null
+++ b/examples/keys.yaml
@@ -0,0 +1,11 @@
+-
+ # Simple global binding
+ key: ctrl a
+ cmd: replay.client @marked
+-
+ # Bind key only in the lfowlist
+ # Note that 1 is quoted, or YAML interprets it as a digit
+ key: "1"
+ ctx: ["flowlist"]
+ cmd: console.nav.down
+ help: Go to next flow \ No newline at end of file