aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/kveditor.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-02-08 22:55:48 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-02-08 22:55:48 +1300
commit5df0b9e9610b803241f8c4870ddfe3afb450a048 (patch)
tree750be1224dcf8d10d1b63bc9665b1357184566ac /libmproxy/console/kveditor.py
parent866a93a8bc28fed47dde04f49c13592a7163bff4 (diff)
downloadmitmproxy-5df0b9e9610b803241f8c4870ddfe3afb450a048.tar.gz
mitmproxy-5df0b9e9610b803241f8c4870ddfe3afb450a048.tar.bz2
mitmproxy-5df0b9e9610b803241f8c4870ddfe3afb450a048.zip
Further keybinding consolidation.
Also, move KVEditor's "i" binding to "A" to avoid clashes with global bindings.
Diffstat (limited to 'libmproxy/console/kveditor.py')
-rw-r--r--libmproxy/console/kveditor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/console/kveditor.py b/libmproxy/console/kveditor.py
index 7afcd08d..632a6992 100644
--- a/libmproxy/console/kveditor.py
+++ b/libmproxy/console/kveditor.py
@@ -7,10 +7,10 @@ from .. import utils
def _mkhelp():
text = []
keys = [
+ ("A", "insert row before cursor"),
("a", "add row after cursor"),
("d", "delete row"),
("e", "spawn external editor on current field"),
- ("i", "insert row before cursor"),
("q", "return to flow view"),
("esc", "return to flow view/exit field edit mode"),
("tab", "next field"),
@@ -215,7 +215,7 @@ class KVEditor(common.WWrap):
self.walker.tab_next()
elif key == "a":
self.walker.add()
- elif key == "i":
+ elif key == "A":
self.walker.insert()
elif key == "d":
self.walker.delete_focus()