F1-inserts the last executed command (character by character).
F2-inserts the last executed command (before the entered character).
F3-repeats the previous command.
F4-deletes the current prompt text before the entered character.
F5-inserts recently executed commands (not looped).
F6-inserts ^Z in the tooltip.
F7-show the entire history of previous commands. In the history display, you can use the arrows to select the desired command and execute it by pressing Enter.
F8-inserts recently executed commands (loops).
F9-requests the command number from the F7 list to insert.