@cmd('<STR_LIT>')<EOL>def list_keys(pymux, variables):
<EOL>result = []<EOL>for k, custom_binding in pymux.key_bindings_manager.custom_bindings.items():<EOL><INDENT>needs_prefix, key = k<EOL>result.append('<STR_LIT>' % (<EOL>('<STR_LIT>' if needs_prefix else '<STR_LIT>'), key, custom_binding.command,<EOL>'<STR_LIT:U+0020>'.join(map(wrap_argument, custom_binding.arguments))))<EOL><DEDENT>result = '<STR_LIT:\n>'.join(sorted(result))<EOL>pymux.get_client_state().layout_manager.display_popup('<STR_LIT>', result)<EOL>
Display all configured key bindings.