Here is a tool that adds the ability to long press the built in history up button in the console, to bring up a table of the current history buffer. Selecting a row copies it to the command line. this also lets you save the history session to a json file, which allows it to be loaded again later. For stupid reasons that I will eventually fix, when loading from the history file, you will have to close and then reopen the history for the loaded values to show up. At the moment, it also needs to be in site-packages to work, or in pythonista_startup. It should be safe to enable there, and then the gesture is always available.
Others may find this interesting for :example of a themable ListDialogController -- notice tableview cell background match theme. Example of custom view in the title bar, in this case a search textfield. repurposing an existing App button for our own nefarious purposes.