diff options
-rw-r--r-- | alot/command.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py index 14fe34c6..0744a19f 100644 --- a/alot/command.py +++ b/alot/command.py @@ -1103,6 +1103,8 @@ COMMANDS = { }, 'global': { 'move': (SendKeypressCommand, {}), + 'cancel': (SendKeypressCommand, {'key': 'cancel'}), + 'select': (SendKeypressCommand, {'key': 'select'}), 'sendkey': (SendKeypressCommand, {}), 'bnext': (BufferFocusCommand, {'offset': 1}), 'bprevious': (BufferFocusCommand, {'offset': -1}), @@ -1230,7 +1232,7 @@ def interpret_commandline(cmdline, mode): 'refresh', 'bufferlist', 'refineprompt', 'reply', 'open', 'groupreply', 'bounce', 'openthread', 'toggleheaders', 'send', - 'reedit', 'select', 'retagprompt']: + 'cancel', 'reedit', 'select', 'retagprompt']: return commandfactory(cmd, mode=mode) else: return None |