parameters: ()
return_statement: return registry
docstring: Basic system bindings (For both Emacs and Vi mode.)
docstring_summary: Basic system bindings (For both Emacs and Vi mode.)
docstring_tokens: Basic system bindings ( For both Emacs and Vi mode . )
function: def load_basic_system_bindings():
      """
      Basic system bindings (For both Emacs and Vi mode.)
      """
      registry = Registry()
  
      suspend_supported = Condition(
          lambda cli: suspend_to_background_supported())
  
      @registry.add_binding(Keys.ControlZ, filter=suspend_supported)
      def _(event):
          """
          Suspend process to background.
          """
          event.cli.suspend_to_background()
  
      return registry
function_tokens: def load_basic_system_bindings ( ) : registry = Registry ( ) suspend_supported = Condition ( lambda cli : suspend_to_background_supported ( ) ) @ registry . add_binding ( Keys . ControlZ , filter = suspend_supported ) def _ ( event ) : """
          Suspend process to background.
          """ event . cli . suspend_to_background ( ) return registry