Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suggestion: forward-delete-word



Mikael Magnusson wrote on Wed, 26 Sep 2018 17:05 +0200:
> On Wed, Sep 26, 2018 at 4:55 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > 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.

Thanks --- I did read that section before posting, but the last sentence
led me to disregard keybindings not documented under digit-argument.
Docs patch attached :)
From 31657e8058b577e965d65fa18a7b2b937d82ff96 Mon Sep 17 00:00:00 2001
From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Sep 2018 15:11:12 +0000
Subject: [PATCH] zshzle: Clarify sentence in introduction.

---
 Doc/Zsh/zle.yo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 6ae4863c6..895c5c570 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -47,11 +47,11 @@ 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
+number of times, unless otherwise noted below; this is implemented
+by the tt(digit-argument) widget. See also
 ifzman(the em(Arguments) subsection of the em(Widgets) section )\
 ifnzman(noderef(Arguments) )\
-for some other ways the numeric argument can be modified. The default
-bindings mentioned here use the tt(digit-argument) widget.
+for some other ways the numeric argument can be modified.
 
 startmenu()
 menu(Keymaps)


Messages sorted by: Reverse Date, Date, Thread, Author