diff options
author | pazz <patricktotzke@gmail.com> | 2011-07-19 21:33:32 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-07-19 21:33:32 +0100 |
commit | 1e0d2ad1d6ce3ee71e187831faa5cff1a617b852 (patch) | |
tree | bc1c46c55033df77f062c26f1204979661c59fac | |
parent | 5a430ba8abe293907ac8f4c68beade4c1eb6f31a (diff) |
select in bufferlist -> focus
-rw-r--r-- | alot/commandfactory.py | 10 | ||||
-rw-r--r-- | alot/settings.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/alot/commandfactory.py b/alot/commandfactory.py index 780dbe55..0ce715f3 100644 --- a/alot/commandfactory.py +++ b/alot/commandfactory.py @@ -26,10 +26,10 @@ import commands COMMANDS = { 'bnext': (commands.BufferFocusCommand, {'offset': 1}), 'bprevious': (commands.BufferFocusCommand, {'offset': -1}), - 'bufferfocus': (commands.BufferFocusCommand, {}), 'bufferlist': (commands.OpenBufferListCommand, {}), 'close': (commands.BufferCloseCommand, {}), 'closefocussed': (commands.BufferCloseCommand, {'focussed': True}), + 'openfocussed': (commands.BufferFocusCommand, {}), 'commandprompt': (commands.CommandPromptCommand, {}), 'compose': (commands.ComposeCommand, {}), 'edit': (commands.EditCommand, {}), @@ -102,7 +102,7 @@ globalcomands = [ ALLOWED_COMMANDS = { 'search': ['refine', 'refineprompt', 'toggletag', 'openthread', 'retag', 'retagprompt'] + globalcomands, 'envelope': ['send', 'reedit'] + globalcomands, - 'bufferlist': ['bufferfocussed', 'closefocussed'] + globalcomands, + 'bufferlist': ['openfocussed', 'closefocussed'] + globalcomands, 'taglist': globalcomands, 'thread': ['toggletag'] + globalcomands, } @@ -135,9 +135,9 @@ def interpret_commandline(cmdline, mode): if not params: # commands that work without parameter if cmd in ['exit', 'flush', 'pyshell', 'taglist', 'close','compose', - 'closefocussed', 'bnext', 'bprevious', 'retag', 'refresh', - 'bufferlist', 'refineprompt', 'openthread', 'send', 'reedit', - 'bufferfocus', 'retagprompt']: + 'openfocussed', 'closefocussed', 'bnext', 'bprevious', + 'retag', 'refresh', 'bufferlist', 'refineprompt', + 'openthread', 'send', 'reedit', 'retagprompt']: return commandfactory(cmd) else: return None diff --git a/alot/settings.py b/alot/settings.py index ca7ebdc8..16a68606 100644 --- a/alot/settings.py +++ b/alot/settings.py @@ -343,7 +343,7 @@ MAPPING = { }, 'bufferlist': { 'd': ('closefocussed', ''), - 'enter': ('bufferfocus', ''), + 'enter': ('openfocussed', ''), } } |