diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-06-29 17:05:06 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-06-29 17:05:06 +0200 |
commit | a73ae70e8217d7163aecdbdad4d8af08eced8a55 (patch) | |
tree | ada747729a411bc50f38d410f447efcac1dfd4c9 /Doc/Zsh/zle.yo | |
parent | 5ea32ce2fcd527e9b6e6991c007d296afc5aa44d (diff) | |
download | zsh-a73ae70e8217d7163aecdbdad4d8af08eced8a55.tar.gz zsh-a73ae70e8217d7163aecdbdad4d8af08eced8a55.tar.xz zsh-a73ae70e8217d7163aecdbdad4d8af08eced8a55.zip |
38770: vi upper/lowercase widgets and shell widget example that reads a vi movement
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r-- | Doc/Zsh/zle.yo | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 80d3f39d8..1bae0ccf7 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -1781,6 +1781,13 @@ tindex(down-case-word) item(tt(down-case-word) (tt(ESC-L ESC-l)) (unbound) (unbound))( Convert the current word to all lowercase and move past it. ) +tindex(vi-down-case) +item(tt(vi-down-case)) ((unbound) (tt(gu)) (unbound))( +Read a movement command from the keyboard, and convert all characters +from the cursor position to the endpoint of the movement to lowercase. +If the movement command is tt(vi-down-case), swap the case of all +characters on the current line. +) tindex(kill-word) item(tt(kill-word) (tt(ESC-D ESC-d)) (unbound) (unbound))( Kill the current word. @@ -1946,6 +1953,13 @@ tindex(vi-unindent) item(tt(vi-unindent) (unbound) (tt(<)) (unbound))( Unindent a number of lines. ) +tindex(vi-up-case) +item(tt(vi-up-case)) ((unbound) (tt(gU)) (unbound))( +Read a movement command from the keyboard, and convert all characters +from the cursor position to the endpoint of the movement to lowercase. +If the movement command is tt(vi-up-case), swap the case of all +characters on the current line. +) tindex(up-case-word) item(tt(up-case-word) (tt(ESC-U ESC-u)) (unbound) (unbound))( Convert the current word to all caps and move past it. |