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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24961 invoked from network); 7 Nov 2021 21:35:03 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Nov 2021 21:35:03 -0000 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-Type:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=T4ddYH4DxVdvNduastGSjCWPzthqQ+j9xCJ3HUdQANw=; b=pAWDWRkBj66xP1/1SZTjLaKd4n nRKSR+xv2Xt8iqk2dAc0aRiW8OxBIfkKpWG6nBQtFraHN08q9SePaR7cds7DteuiBRrm9lDnlT0Fl t7OPmRAnk0TP+gx/UxlIXYPwOQMWwI4xsHdhy+dbxF6W8cN3aT/rrJR6BRajUjgeqJG0aPTzyYbHM /hk037acvYulMHXuADZpIUQ7Pf2CxKN/T96zbpZQ0VzAoeS843i8iSWNzZkUhsji6iP70IkFRCorV Gi08Rm+gMtycDpLd6RFLowQ4LX9Sh1wIntqAFgWHW5RUBKDytN8zbJnzm24C0r/tP582Y5ld2yrhr vcMVDu9w==; Received: from authenticated user by zero.zsh.org with local id 1mjpod-0006z5-1k; Sun, 07 Nov 2021 21:35:03 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mjpnu-0006eU-W2; Sun, 07 Nov 2021 21:34:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 4EFBA27C005B; Sun, 7 Nov 2021 16:34:17 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute4.internal (MEProxy); Sun, 07 Nov 2021 16:34:17 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtgddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepnfgrfihr vghntggvpgggvghljoiiqhhuvgiiuceolhgrrhhrhihvseiishhhrdhorhhgqeenucggtf frrghtthgvrhhnpeeitdeigfeihedvleekueehueevkeehudetueehfeeuuefgteefvddu vdejhfevueenucffohhmrghinhepvhhimhhhvghlphdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihvhdomhgvshhmthhp rghuthhhphgvrhhsohhnrghlihhthidqudduhedukeejjedtgedqudduledvjeefkeehqd hlrghrrhihvheppeiishhhrdhorhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0C21221E03BD; Sun, 7 Nov 2021 16:34:17 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e Mime-Version: 1.0 Message-Id: In-Reply-To: References: <58645-1636211057.471076@1OT-.Fo4B.hS-J> Date: Sun, 07 Nov 2021 16:33:24 -0500 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Taras Halturin" , "Oliver Kiddle" Cc: zsh-workers@zsh.org Subject: Re: ctrl-u in vim-mode. bug. Content-Type: text/plain X-Seq: 49551 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 Sun, Nov 7, 2021, at 4:15 PM, Taras Halturin wrote: > Thanks for the reply. Just to make sure if we understand each other. > > in vim > 1. press I for insert mode > 2. type "asdf" > 3. ESC for normal mode > 4. press "shift-a" for append > 5. press "ctrl-u" <- clears the line till the beginning That is not the default behavior. https://vimhelp.org/insert.txt.html#i_CTRL-U CTRL-U Delete all entered characters before the cursor in the current line. If there are no newly entered characters and 'backspace' is not empty, delete all characters before the cursor in the current line. See `i_backspacing` about joining lines. Do you have the "backspace" option set? (If possible, it's good practice to suppress custom settings before reporting "bugs". [Unless you're discussing a nondefault setting, of course.] Try your steps in `vim -u NONE`.) -- vq