Until recently I used Bash. There, you can delete all the content of the line from where the cursor is to the beginning of the line by pressing Ctrl+ U.
$ hola que tal estas
^
$ tal estas # Ctrl+U
^
And so the Bash manual in 8.4.4 Killing And Yanking says :
unix-line-discard (Cu)
Kill backward from the cursor to the beginning of the current line.
However, now I use zsh
( Oh My Zsh specifically) and this functionality is gone. Now when I press Ctrl+ Uthe entire line is deleted. If I do Ctrl+ W, words are eliminated in the following way:
$ hola que_tal estas
^
$ hola que_ estas # Ctrl+U
^
$ hola estas # Ctrl+U
^
Does anyone know what I need to set so that Ctrl+U returns to delete everything from the cursor to the beginning of the line?