From: Taras Halturin <halturin@gmail.com>
To: "Lawrence Velázquez" <larryv@zsh.org>
Cc: Oliver Kiddle <opk@zsh.org>, zsh-workers@zsh.org
Subject: Re: ctrl-u in vim-mode. bug.
Date: Sun, 7 Nov 2021 22:38:29 +0100 [thread overview]
Message-ID: <CAOTqX0D_wWhCj9QV1ZGohoPNveTJd7rJ9+iDUpfOS4Cw-M7fWA@mail.gmail.com> (raw)
In-Reply-To: <ca2c66e1-1207-44f6-a193-3cbc1696fd18@www.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
I've just tested with vim -u NONE and it behaves the same way as written
before (on step 5) - it clears the line to the beginning
On Sun, Nov 7, 2021 at 10:34 PM Lawrence Velázquez <larryv@zsh.org> wrote:
> 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
>
--
Best Regards.
Taras Halturin
[-- Attachment #2: Type: text/html, Size: 2020 bytes --]
next prev parent reply other threads:[~2021-11-07 21:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 9:33 Taras Halturin
2021-11-06 9:38 ` Taras Halturin
2021-11-06 15:04 ` Oliver Kiddle
2021-11-07 21:15 ` Taras Halturin
2021-11-07 21:33 ` Lawrence Velázquez
2021-11-07 21:38 ` Taras Halturin [this message]
2021-11-07 21:49 ` Bart Schaefer
2021-11-07 21:56 ` Taras Halturin
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=CAOTqX0D_wWhCj9QV1ZGohoPNveTJd7rJ9+iDUpfOS4Cw-M7fWA@mail.gmail.com \
--to=halturin@gmail.com \
--cc=larryv@zsh.org \
--cc=opk@zsh.org \
--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).