<s> """<STR_LIT>""" <EOL> from Vintageous . vi . constants import INPUT_FOR_ACTIONS <EOL> class PluginManager ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . actions = { } <EOL> self . composite_commands = { } <EOL> self . motion_input_parsers = { } <EOL> self . action_input_parsers = { } <EOL> def register_action ( self , f ) : <EOL> self . actions [ f . __name__ ] = f <EOL> return f <EOL> def register_composite_command ( self , cc ) : <EOL> self . composite_commands . update ( cc ) <EOL> def register_motion_input_parser ( self , ip ) : <EOL> self . motion_input_parsers . update ( ip ) <EOL> def register_action_input_parser ( self , ip ) : <EOL> INPUT_FOR_ACTIONS . update ( ip ) </s>
