On 2025-07-09 16:27:55 -0500, G. Branden Robinson wrote:
> Personally, I like Bash's behavior.  I often want to kill to the
> beginning of the line while leaving everything after the cursor position
> ("point" in Emacs/readline-speak) intact.  If I really want to fully
> abort a command line in progress, my habit is simply to use Control+C.

Note that Ctrl-C has side effects. In particular, it will bring
you back at the end of the history, making operate-and-get-next
fail on the get-next part.

And in readline-based applications, Ctrl-C may do more than
clearing the current line.

The main thing I'm asking is that Ctrl-U should easily be
configurable in the .inputrc file without any drawback.
And the default readline settings should follow good logic.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to