diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-12 08:24:15 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-12 08:24:15 +0000 |
commit | b1d4a8194a12b74a5bae9951ae7d20e5af82f715 (patch) | |
tree | acd52dd4b63fef0ba636648dcf95dfd642c331f8 /Doc/Zsh | |
parent | 07b3a775b16fb00ae1434ee0ac465990440e4bd3 (diff) | |
download | zsh-b1d4a8194a12b74a5bae9951ae7d20e5af82f715.tar.gz zsh-b1d4a8194a12b74a5bae9951ae7d20e5af82f715.tar.xz zsh-b1d4a8194a12b74a5bae9951ae7d20e5af82f715.zip |
new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing to find word (10685)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/zle.yo | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 27b149d0b..0bc857cfb 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -637,7 +637,13 @@ Copy the area from the cursor to the mark to the kill buffer. ) tindex(copy-prev-word) item(tt(copy-prev-word) (ESC-^_) (unbound) (unbound))( -Duplicate the word behind the cursor. +Duplicate the word to the left of the cursor. +) +tindex(copy-prev-shell-word) +item(tt(copy-prev-shell-word) (ESC-^_) (unbound) (unbound))( +Like tt(copy-prev-word), but the word is found by using shell parsing, +whereas tt(copy-prev-word) looks for blanks. This makes a difference +when the word is quoted and contains spaces. ) tindex(vi-delete) item(tt(vi-delete) (unbound) (d) (unbound))( |