diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-09-29 10:00:07 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-09-29 10:00:07 +0200 |
commit | 9e6da332c784241ae71940b0e1d6ca324886f65a (patch) | |
tree | e301a631fec49cf4c0c58889e423019641e6bc33 /alot/init.py | |
parent | 2a67110aa723655f312855bab2de617f1910f60c (diff) |
Move urwid maps to config file
Diffstat (limited to 'alot/init.py')
-rwxr-xr-x | alot/init.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/alot/init.py b/alot/init.py index 93c84149..ea3d32b1 100755 --- a/alot/init.py +++ b/alot/init.py @@ -25,7 +25,6 @@ import settings from account import AccountManager from db import DBManager from ui import UI -from urwid.command_map import command_map def parse_args(): @@ -97,13 +96,6 @@ def main(): # get ourselves a database manager dbman = DBManager(path=args.db_path, ro=args.read_only) - # set up global urwid command maps - command_map['j'] = 'cursor down' - command_map['k'] = 'cursor up' - command_map[' '] = 'cursor page down' - command_map['enter'] = 'select' - command_map['esc'] = 'cancel' - # get initial searchstring query = settings.config.get('general', 'initial_searchstring') if args.query != '': |