From: Mikael Magnusson <mikachu@gmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh workers <zsh-workers@zsh.org>,
thekittendev@gmail.com, jroquet@arkanosis.net
Subject: Re: Suggestion: forward-delete-word
Date: Wed, 26 Sep 2018 17:05:39 +0200 [thread overview]
Message-ID: <CAHYJk3Tr2A7zv8ZBcLsHB=pTukQByhzq-9mQkpeO9AMS6==Lxw@mail.gmail.com> (raw)
In-Reply-To: <1537973723.2202817.1521444808.6F5456C9@webmail.messagingengine.com>
On Wed, Sep 26, 2018 at 4:55 PM, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> Bart Schaefer wrote on Tue, 25 Sep 2018 22:32 -0700:
>> You can also get forward motions by typing ESC - (that's two
>> characters, escape and hypen (minus)) before typing the character for
>> a backward motion, i.e., ESC - ^H deletes forward one character, ESC -
>> ^W deletes forward one word.
>
> For those of us who use EDITOR=vim with `bindkey -e`, where is it
> documented that a numeric argument can be negative? I couldn't find
> that info in zshzle(1) or zshall(1).
In many places, references are made to the
numeric argument. This can by default be
entered in emacs mode by holding the alt
key and typing a number, or pressing escape
before each digit, and in vi command mode
by typing the number before entering a
command. Generally the numeric argument
causes the next command entered to be
repeated the specified number of times,
unless otherwise noted below. See also the
Arguments subsection of the Widgets section
for some other ways the numeric argument can
be modified. The default bindings mentioned
here use the digit-argument widget.
The referenced "Arguments" subsection containes the neg-argument
widget. Many individual widgets also mention exactly what happens when
given a numeric argument.
--
Mikael Magnusson
next prev parent reply other threads:[~2018-09-26 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-24 18:29 Noam Barnea
2018-09-24 18:59 ` Jérémie Roquet
2018-09-26 5:32 ` Bart Schaefer
2018-09-26 14:55 ` Daniel Shahaf
2018-09-26 15:05 ` Mikael Magnusson [this message]
2018-09-26 15:12 ` Daniel Shahaf
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='CAHYJk3Tr2A7zv8ZBcLsHB=pTukQByhzq-9mQkpeO9AMS6==Lxw@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=d.s@daniel.shahaf.name \
--cc=jroquet@arkanosis.net \
--cc=thekittendev@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).