Most key bindings are simply inherited from prompt-toolkit .
The following key bindings are special to mycli:
Enable/Disable SmartCompletion Mode.
Enable/Disable Multiline Mode.
Toggle between Vi and Emacs mode.
Force autocompletion at cursor.
Initialize autocompletion at cursor.
If the autocompletion menu is not showing, display it with the appropriate completions for the context.
If the menu is showing, select the next completion.
Introduce a line break in multi-line mode, or dispatch the command in single-line mode.
The sequence ESC-Enter is often sent by Alt-Enter.
Prettify and indent current statement, usually into multiple lines.
Only accepts buffers containing single SQL statements.
Unprettify and dedent current statement, usually into one line.
Only accepts buffers containing single SQL statements.