summary refs log tree commit diff
path: root/Doc/Zsh/mod_deltochar.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/mod_deltochar.yo')
-rw-r--r--Doc/Zsh/mod_deltochar.yo13
1 files changed, 10 insertions, 3 deletions
diff --git a/Doc/Zsh/mod_deltochar.yo b/Doc/Zsh/mod_deltochar.yo
index f92a3da0d..6f0461d43 100644
--- a/Doc/Zsh/mod_deltochar.yo
+++ b/Doc/Zsh/mod_deltochar.yo
@@ -1,6 +1,7 @@
-texinode(The deltochar Module)(The example Module)(The compctl Module)(Zsh Modules)
-sect(The deltochar Module)
-The tt(deltochar) module makes available one ZLE function:
+COMMENT(!MOD!zsh/deltochar
+A ZLE function duplicating EMACS' tt(zap-to-char).
+!MOD!)
+The tt(zsh/deltochar) module makes available two ZLE functions:
 
 startitem()
 tindex(delete-to-char)
@@ -8,5 +9,11 @@ item(tt(delete-to-char))(
 Read a character from the keyboard, and
 delete from the cursor position up to and including the next
 (or, with repeat count var(n), the var(n)th) instance of that character.
+Negative repeat counts mean delete backwards.
+)
+tindex(zap-to-char)
+item(tt(zap-to-char))(
+This behaves like tt(delete-to-char), except that the final occurrence of
+the character itself is not deleted.
 )
 enditem()