code: def for_prompt(cls, **kw):
          
          kw.setdefault('enable_abort_and_exit_bindings', True)
          kw.setdefault('enable_search', True)
          kw.setdefault('enable_auto_suggest_bindings', True)
  
          return cls(**kw)
docs: Create a ``KeyBindingManager`` with the defaults for an input prompt.
          This activates the key bindings for abort/exit (Ctrl-C/Ctrl-D),
          incremental search and auto suggestions.
  
          (Not for full screen applications.)