original_docstring:  Add Crtl+y shortcut to add the current line into the history 
docstring: Add Crtl+y shortcut to add the current line into the history
docstring_tokens: Add Crtl + y shortcut to add the current line into the history
code: def f_on_ctrl_y( event ):  
        """ Add Crtl+y shortcut to add the current line into the history """  
        if event.cli.current_buffer.text.strip():
          event.cli.current_buffer.append_to_history()    
        ooo = event.cli.current_buffer
code_tokens: def f_on_ctrl_y ( event ) : if event . cli . current_buffer . text . strip ( ) : event . cli . current_buffer . append_to_history ( ) ooo = event . cli . current_buffer
short_docstring: Add Crtl+y shortcut to add the current line into the history
short_docstring_tokens: Add Crtl + y shortcut to add the current line into the history
comment: """ Add Crtl+y shortcut to add the current line into the history """