zsh-workers
 help / color / mirror / code / Atom feed
* RFE: Enable Shell Hotkey: ctrl+u
@ 2023-04-04  0:46 Todd E Thomas
  2023-04-04  1:05 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Todd E Thomas @ 2023-04-04  0:46 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

I'm emailing about some hotkey/shortcuts. From section 8.3.1 Readline Init
File Syntax <https://www.gnu.org/software/bash/manual/bash.html>:

   1. *Ctrl + U* Deletes before the cursor until the start of the command
      1. *Control-u: universal-argument Meta-Rubout: backward-kill-word*
      2. *Ctrl + K* Deletes after the cursor until the end of the command

*Ctrl + K* seems to be implemented in zsh but *Ctrl + U* seems to be a bit
flaky. It should behave as listed above but, what it's actually doing is
killing all words in the line.

I see how it's described in 4.2.2: Deleting
<https://zsh.sourceforge.io/Guide/zshguide04.html> but that's pretty terse;
not sure what to do with that.

*Request for Enhancement*
Please implement the *Control-u* functionality as described above. Or,
given the functionality exists, simply bind to *ctrl+u* by default.

I hear this as an occasional complaint from a few of us old geezers (like
me) who have a lot of muscle memory invested into these shortcuts. Time to
ask for help :-)

--
Thanks in advance,

Todd Thomas

*"It's a frail music knits the world together."-Robert Dana*

[-- Attachment #2: Type: text/html, Size: 1763 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-04  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-04  0:46 RFE: Enable Shell Hotkey: ctrl+u Todd E Thomas
2023-04-04  1:05 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).