The REPL console provides some of the keyboard shortcuts often seen in programs using the Readline library:

Shortcut Description
Tab Auto-complete current word.
(Up arrow key) Previous line in history.
(Down arrow key) Next line in history.
Ctrl + G Show documentation for the identifier before the cursor.
Ctrl + A Move the cursor to the beginning of current line.
Ctrl + E Move the cursor to the end of current line.
Ctrl + F Move the cursor one character forward.
Ctrl + B Move the cursor one character backward.
Alt + F Move the cursor one word forward.
Alt + B Move the cursor one word backward.
Ctrl + D Delete one character at the cursor, or send EOF (exit the REPL) when current line is empty.
Ctrl + H Delete one character before the cursor.
Ctrl + L Clear screen.