about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-11 23:11:38 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-11 23:11:38 +0000
commitc68317f5ebd65552dd2c5450b6f45f99ed3ce75c (patch)
tree7b1043ac777c5b1456bbb62b50eb77d91c002abb /Doc
parentfc20475e595028fc77d2f395b9ae000ff1617d3a (diff)
downloadzsh-c68317f5ebd65552dd2c5450b6f45f99ed3ce75c.tar.gz
zsh-c68317f5ebd65552dd2c5450b6f45f99ed3ce75c.tar.xz
zsh-c68317f5ebd65552dd2c5450b6f45f99ed3ce75c.zip
Merge of unposted (based on users/10881,10884): add auto-previous zstyle, update
smart-insert-last-word to use auto-suffix-retain, "always" block, etc.
plus users/11424: don't embed a comment inside a math expression.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 5ca08a5cf..e15c6272d 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -897,6 +897,11 @@ different widgets to use different patterns:
 example(zle -N insert-last-assignment smart-insert-last-word
 zstyle :insert-last-assignment match '[[:alpha:]][][[:alnum:]]#=*'
 bindkey '\e=' insert-last-assignment)
+
+If no interesting word is found and the tt(auto-previous) style is set to
+a true value, the search continues upward through the history.  When
+tt(auto-previous) is unset or false (the default), the widget must be
+invoked repeatedly in order to search earlier history lines.
 )
 tindex(which-command)
 item(tt(which-command))(
@@ -956,13 +961,13 @@ For example, a user-defined widget containing the following code
 converts the characters in the argument under the cursor into all upper
 case:
 
-example(modify-current-word '${(U)ARG}')
+example(modify-current-argument '${(U)ARG}')
 
 The following strips any quoting from the current word (whether backslashes
 or one of the styles of quotes), and replaces it with single quoting
 throughout:
 
-example(modify-current-word '${(qq)${(Q)ARG}}')
+example(modify-current-argument '${(qq)${(Q)ARG}}')
 )
 enditem()