zsh-workers
 help / color / mirror / code / Atom feed
From: Todd E Thomas <todd.dsm@gmail.com>
To: zsh-workers@zsh.org
Subject: RFE: Enable Shell Hotkey: ctrl+u
Date: Mon, 3 Apr 2023 17:46:23 -0700	[thread overview]
Message-ID: <CAGJLD2GV8WeSP3oxBvjH=pbXKNUt4iYdfTrVmu=68rR0Kqq54Q@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2023-04-04  0:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04  0:46 Todd E Thomas [this message]
2023-04-04  1:05 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGJLD2GV8WeSP3oxBvjH=pbXKNUt4iYdfTrVmu=68rR0Kqq54Q@mail.gmail.com' \
    --to=todd.dsm@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).