# HG changeset patch # User Steve Fink # Date 1454696031 28800 # Fri Feb 05 10:13:51 2016 -0800 # Node ID 58fe4f23bb6eeda94afed1c54fc6e995c4c7f205 # Parent 37127b1ed77749cf6b722581616e425d6d371b3e chistedit: allow running histedit with c or C, to better match crecord diff --git a/chistedit.py b/chistedit.py --- a/chistedit.py +++ b/chistedit.py @@ -52,7 +52,7 @@ KEY_MOVE_UP = ['K'] KEY_SEL = [' '] KEY_QUIT = ['q'] -KEY_HISTEDIT = ['C'] +KEY_HISTEDIT = ['c', 'C'] KEY_SHOWPATCH = ['v'] KEY_HELP = ['?'] KEY_ACTION = { @@ -294,7 +294,7 @@ help = """ ?: help, up/k: move up, down/j: move down, space: select, v: view patch d: drop, e: edit, f: fold, m: mess, p: pick, r: roll -K: move current up, J: move current down, C: invoke histedit, q: abort +K: move current up, J: move current down, c: commit changes, q: abort """ return help.strip().splitlines()