diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-03-11 13:20:21 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-03-11 13:20:21 -0800 |
commit | 25dceb1dea4ee1c23dcc02f3f7f5c0bf345c492c (patch) | |
tree | c74d0e843093d48d7f091e3ce3346a280b394cc9 /Doc/Zsh | |
parent | 8424fe5e23dbae3983bdb03a91c49f467865fc33 (diff) | |
download | zsh-25dceb1dea4ee1c23dcc02f3f7f5c0bf345c492c.tar.gz zsh-25dceb1dea4ee1c23dcc02f3f7f5c0bf345c492c.tar.xz zsh-25dceb1dea4ee1c23dcc02f3f7f5c0bf345c492c.zip |
51557: Clarify availability of ksh-mode parameters, improve vi-mode detection.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/mod_ksh93.yo | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/Zsh/mod_ksh93.yo b/Doc/Zsh/mod_ksh93.yo index d58b979b9..99dab385f 100644 --- a/Doc/Zsh/mod_ksh93.yo +++ b/Doc/Zsh/mod_ksh93.yo @@ -24,8 +24,10 @@ enditem() subsect(Ksh Parameters) cindex(parameters, ksh) -Parameters supplied by this module that are marked with `<K>' below are -available only in ksh emulation. +Parameters supplied by this module that are marked with `<K>' below +are available only when ksh emulation is active before entry to the +shell function, that is, `tt(emulate ksh)' locally to a function does +not populate these parameters for that function. startitem() vindex(.sh.command) @@ -45,7 +47,7 @@ A named reference to the ZLE special parameter `tt(CURSOR)'. vindex(.sh.edmode) item(tt(.sh.edmode) <K>)( In a ZLE widget, this parameter has the value tt(ESC) (tt($'\e')) if the -`tt(main)' keymap is selected, and the empty string otherwise. This is +tt(VI) option is set and the `tt(main)' keymap is selected. This is intended for use with vi-mode key bindings (`tt(bindkey -v)'). In a future revision, assigning `tt(.sh.edchar=${.sh.edmode})' is expected to initiate `tt(vicmd)' mode when `tt(viins)' is active, and do |