@@ -49,15 +49,18 @@ SQL-Bless is the result of that lesson — a tool that values safety over conven
4949
5050| Key | Binding |
5151| -----| ---------|
52- | ` Enter ` , ` Ctrl ` -` M ` | Insert a newline (or execute SQL if line ends with ` ; ` or is a short command[ ^ sc ] ) |
53- | ` Ctrl ` -` Enter ` /` J ` | Execute SQL |
54- | ` Ctrl ` -` F ` /` B ` | Move Cursor forward or backward |
55- | ` Ctrl ` -` N ` /` P ` | Move Cursor or refer history |
56- | ` Ctrl ` -` C ` | Exit with rollback |
57- | ` Ctrl ` -` D ` | Delete character or submit EOF (exit with rollback) |
58- | ` ALT ` -` P ` , ` Ctrl ` -` Up ` , ` PageUp ` | Insert the previous SQL (history)|
59- | ` ALT ` -` N ` , ` Ctrl ` -` Down ` , ` PageDown ` | Insert the next SQL (history) |
60- | ` TAB ` | Table name and column name completion |
52+ | ` Enter ` , ` Ctrl ` +` M ` | Insert a newline or execute SQL if line ends with ` ; ` or is a short command[ ^ sc ] |
53+ | ` Ctrl ` +` Enter ` , ` Meta ` +` Enter ` , ` Ctrl ` +` J ` | Execute SQL |
54+ | ` → ` , ` Ctrl ` +` F ` | Move Cursor forward |
55+ | ` ← ` , ` Ctrl ` +` B ` | Move Cursor backward |
56+ | ` ↑ ` , ` Ctrl ` +` P ` | Move cursor to previous line or last line of previous SQL in history |
57+ | ` ↓ ` , ` Ctrl ` +` N ` | Move cursor to next line or first line of next SQL in history |
58+ | ` Ctrl ` +` D ` | Delete character or submit EOF (exit with rollback) |
59+ | ` PageUp ` , ` Ctrl ` +` ↑ ` , ` Meta ` +` P ` | Insert the previous SQL (history)|
60+ | ` PageDown ` , ` Ctrl ` +` ↓ ` , ` Meta ` +` N ` | Insert the next SQL (history) |
61+ | ` Tab ` | Table name and column name completion |
62+
63+ ` Meta ` means either ` Alt ` +` key ` or ` Esc ` followed by key.
6164
6265[ ^ sc ] : ` DESC ` , ` EDIT ` , ` EXIT ` , ` HISTORY ` , ` HOST ` , ` QUIT ` , ` REM ` , ` SPOOL ` , ` START ` , ` \D `
6366
0 commit comments