From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6403 invoked from network); 4 Apr 2023 01:06:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Apr 2023 01:06:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1680570366; b=TNjD3+xJeXV0nuQf1UBB+fBV7ElCTLY3+Z1MEzZij8A9eXZ9NSQx68lHabtpM8QTeKpi7xLF+K 4jSw2Mhv8+gWo/2qLDDBWYAS3kHpV0/fZZZtd35bNw42OTJ0y5nFdglZ9gbJ3A8OwINHBQJt6M XetFJxxomEHTPrEo2372P+wUQPYeRZuKZ7tMjPT5lwNXA+6tgdLe5wXsNnMV7Yd2ehszCVR8Af Wuc7uFUGs4M5AAZgUYuXVM/W/adlp1rbotE3ri/bXQQQPPIUliSJTJntAqZ0s9tUOS5YLJfldY 6ZtwFehV+c/qWRVvHuTFQuOxlZwzPnrGquCBe7zMkoDb1Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1680570366; bh=7QeDhaacAfVFO/qz1dwfs9GoJyDgCScEGGTKwIv4S5M=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=XKr8RGkJzwUnuVRW5a18KCPwLnz8EXmkQAOvTzIryEUQD9oEbk26Gy8ZrxgpqZgSCEjmp97WUb FKHWF4y5czEOtEVv6DlrRAn0pK/O6LJGtkY2D4IJjdKpxoNTSVjp3O9WIkHK5LelXeK/zMi/6D 1Wd1zX2g80ohU8Zwq/T06OhLJpsyf4NnhhZSkLjm9hqtHtxGCMHSbFjGqnEGhIxMAgf7mwP1eO uk6VJtx4NrK6bHlLRKuuf/ffrYnAmIna7gB9ACGH1K9aJoIjnL+yAJKalRbKqmwBOoP5K7YTaw Yeb/7H9S0n7ADlSlrt1A15wMM0iQLxi1U5Wp6G3YekOP9w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=1DEbX+Z37MVC9N8fL9evv8v51De8HmHb7V94tN7Iv5Y=; b=CvHGplblTAVSPpvKsTtQ2lFE3q dodN0QpOKnjsTS6nvBqz5YGLWQeCjOC3DOPlhdOtwan/PgEZuwEWX/ZonKWQe8YYxYdH5DVk4BWyZ CyIk4Qj30OIIqmkcQBc7C61fKKQ+ynCHttRfLdwP8FA4D3jEe6O91Ebvccd5beK86owRWsjFfInyq FA6XT0ONSpTY2o8fk2mPNAM53OBMLamfcQuwS0vSvacesXUqr+JlX/LOJz4CMNkyYGrYS2xI4gjrj 7sXxOr+tpJtTv7Z/WkORWnSUdwITnOqp7jfAvrcEew5Vyg97U52BH2GUs6vH68k7Kl3BowZbLUfjX iunWn/9g==; Received: by zero.zsh.org with local id 1pjV7e-000Dji-4S; Tue, 04 Apr 2023 01:06:06 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f41.google.com ([209.85.208.41]:38710) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pjV7O-000DRB-5x; Tue, 04 Apr 2023 01:05:51 +0000 Received: by mail-ed1-f41.google.com with SMTP id r11so124331743edd.5 for ; Mon, 03 Apr 2023 18:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; t=1680570349; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1DEbX+Z37MVC9N8fL9evv8v51De8HmHb7V94tN7Iv5Y=; b=4aKStC2Xs1LYkxnqvPGLi2JSkzNtLF3Ixff+G+lAdQx/cHyhl6UCCfU8fKa3QPbFNx +Lo02b3qt2Gf6PpB7GU2PthOtuLUlIO60Ga234782ngjwt/6oDnmHEV50mdXB0fVIUt1 UUnNcOjec5o+mNjpylIX9KWURyLgeWD5EhSA7uhvnQ1RWcMfclB0HVGurf8kQtkJK0xw WpUTT39wbLoE8drAahUUhCbgwWMNeWDsDVO7A/svIYP1PpEVOFyugrM3OpAYxsWz8yOS O+IsZsYL7Ax1BjtrgCPpryIl+0AheMo0KYJviIYHG4Bn1CftmIOI8VXhmK0yWirBRZ+K rb2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680570349; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1DEbX+Z37MVC9N8fL9evv8v51De8HmHb7V94tN7Iv5Y=; b=NF3vXsaVY01K+InMQaGMS7uoOgcxZs/4vmmJqkMk/irAcLRmS1Clk/t2gS3bkTbeLr KlrNOP+KIL7tOKwAhLaflDh6NzvHHGhGXOU8ttTx71wYqYqUWzHm0fwRQZbCDAdBeIPs vOfAFsRosqbWrXhzTbVSzuzSyQ1duJg/m+h/o2j7lDorG/uCQkH/zWW6SR3JfAfbIrv0 /ppTiysTibLkSwpu11swVObGff21sE4Li+Ifq4/fmiuFn7+WfN2s0TF5u9OoSQngnPAF yhZccLxFAHzN6ItMNaL9toXDfcuURZwKhA5e+q86RwxPe2gI13xOKmeubpRpAVcN23uJ sHrA== X-Gm-Message-State: AAQBX9fln7yzLtmQSIL23QXbAHp6tlfKKBD4//2BBACYm+v2TOorfv5L pDrcfWYIkH4cFDjcTYg1tr42WfP4dyFgd7jVtLAf5w== X-Google-Smtp-Source: AKy350ZmjwRJY8a3bWl0mqPGgLpRhbNKT5C4lxF2RiXeh9EYUcyUCoNEXksotlxwBIfPVemp3JH9hICoeKEt4vyfb1E= X-Received: by 2002:a17:907:8c10:b0:920:3bf5:7347 with SMTP id ta16-20020a1709078c1000b009203bf57347mr570340ejc.0.1680570349616; Mon, 03 Apr 2023 18:05:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Mon, 3 Apr 2023 18:05:38 -0700 Message-ID: Subject: Re: RFE: Enable Shell Hotkey: ctrl+u To: Todd E Thomas Cc: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 51624 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Mon, Apr 3, 2023 at 5:47=E2=80=AFPM Todd E Thomas w= rote: > > Please implement the Control-u functionality as described above. Or, give= n 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 :-) This is as it is because of even older geezers who have muscle memory for the way "stty kill" works, and for 4.x BSD where ^U is the kill character by default. Of course it can be argued that stty kill deletes the whole line only because it's not possible for the cursor to be anywhere other than at the end of the line in the stty driver, so the readline choice is not entirely unreasonable. Anyway, you're looking for bindkey ^U backward-kill-line