Commit 277a91d
authored
Change ctrl-a/ctrl-e to move to start/end of line, not buffer (duckdb#18490)
This cli behaviour has been driving me crazy, but perhaps it's only me.
I think that for a multi-line query, you should go to the start/end of
the current line with ctrl-a/ctrl-e, not start/end of the entire
multi-line buffer. If you want to go to the start/end of the buffer, the
home/end keys are bound to that.
It could be a personal preference of mine, or maybe I spend too much
time in the cli, but I think this is more intuitive behaviour for
multi-line queries as it mirrors how multi-line editing works in some
other apps, e.g web browser, word processors etc.1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
1385 | | - | |
| 1385 | + | |
1386 | 1386 | | |
1387 | 1387 | | |
1388 | | - | |
| 1388 | + | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| |||
0 commit comments