summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/globals.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index b3421b3a..4d4ef3a2 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -378,7 +378,8 @@ class HelpCommand(Command):
if self.commandname == 'bindings':
# get mappings
modemaps = dict(settings._bindings[ui.mode].items())
- globalmaps = dict(settings._bindings['global'].items())
+ is_scalar = lambda (k, v): k in settings._bindings.scalars
+ globalmaps = dict(filter(is_scalar, settings._bindings.items()))
# build table
maxkeylength = len(max((modemaps).keys() + globalmaps.keys(),