From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 3ca36d6d for ; Mon, 3 Dec 2018 08:12:41 +0000 (UTC) Received: (qmail 16495 invoked by alias); 3 Dec 2018 08:12:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43859 Received: (qmail 27214 invoked by uid 1010); 3 Dec 2018 08:12:31 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-mqugw.biglobe.ne.jp by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(133.208.100.4):SA:0(-2.6/5.0):. Processed in 2.914528 secs); 03 Dec 2018 08:12:31 -0000 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: [zsh bug report] vi-change-whole-line does not kill whole line in some cases Date: Mon, 3 Dec 2018 17:11:47 +0900 References: To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.101.1) X-Biglobe-Spnum: 52084 > 2018/12/03 3:15=E3=80=81Kuba =E3=81=AE=E3=83=A1=E3=83=BC=E3= =83=AB: >=20 > ## Expected result: > Kill the current line and enter insert mode. >=20 > ## Actual result: > The line is killed but the cursor is positioned one place to the right = making the line not empty (line contains single space) I think this is intensional. Blanks at the start of lines are retained to keep the indentation; this is the behavior compatible with vim editor with autoindent ON. If you want a behavior of pure vi (or vim with autoindent OFF), you may try bindkey -a -s S cc