comparison frontends/src/primitivus/keys.py @ 1186:9cc858acae91

primitivus: added a FOCUS_EXTRA key (default: "ctrl f") which can be used to focus a main part: - ctrl f + 1 (or m) to focus menu - ctrl f + 2 (or b) to focus body - ctrl f + 3 (or n) to focus notifications bar - ctrl f + 4 (or e) to focus edit bar
author Goffi <goffi@goffi.org>
date Mon, 08 Sep 2014 19:19:32 +0200
parents a283968818da
children e3a9ea76de35
comparison
equal deleted inserted replaced
1185:6184779544c7 1186:9cc858acae91
53 ("chat_panel", "DECORATION_HIDE"): "meta l", 53 ("chat_panel", "DECORATION_HIDE"): "meta l",
54 ("chat_panel", "SUBJECT_SWITCH"): "meta s", 54 ("chat_panel", "SUBJECT_SWITCH"): "meta s",
55 55
56 #card game 56 #card game
57 ("card_game", "CARD_SELECT"): ' ', 57 ("card_game", "CARD_SELECT"): ' ',
58
59 #focus
60 ("focus", "FOCUS_EXTRA"): "ctrl f",
58 }) 61 })
59 62
60 63
61 action_key_map.set_close_namespaces(tuple(), ('global', 'focus', 'menu_global')) 64 action_key_map.set_close_namespaces(tuple(), ('global', 'focus', 'menu_global'))
62 action_key_map.check_namespaces() 65 action_key_map.check_namespaces()