diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-03 13:16:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-03 13:16:46 +0000 |
commit | 7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56 (patch) | |
tree | 9bb85bcd27410e1b752c8550f487165d71dc8aca /Doc/Zsh/mod_complist.yo | |
parent | b09922bb063ddf44c7850b182fec4795fbe1ae90 (diff) | |
download | zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.tar.gz zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.tar.xz zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.zip |
zsh-3.1.5-pws-25 dot-zsh-199907031715
Diffstat (limited to 'Doc/Zsh/mod_complist.yo')
-rw-r--r-- | Doc/Zsh/mod_complist.yo | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo index 460d4a609..101f4e69c 100644 --- a/Doc/Zsh/mod_complist.yo +++ b/Doc/Zsh/mod_complist.yo @@ -92,12 +92,17 @@ matches to insert into the command line can be selected from this list. In the list one match is highlighted using the value for tt(ma) from the tt(ZLS_COLORS) or tt(ZLS_COLOURS) parameter. The default value for this it `tt(7)' which forces the selected match to be -highlighted using standout mode on a vt100 compatible terminal. +highlighted using standout mode on a vt100 compatible terminal. If +neither tt(ZLS_COLORS) nor tt(ZLS_COLOURS) is set, the same terminal +control sequence is used as for the `tt(%S)' escape in prompts. Selecting matches is done by moving the mark around using the zle movement functions. The zle functions tt(send-break) and tt(accept-line) can be used to leave menu-selection, leaving the match currently inserted into the line -in place. The functions tt(accept-and-hold) and +in place. In the case of tt(accept-line), the match currently inserted +will be accepted and the immediatly trying completion again will +complete after it. Using tt(send-break) leaves menu-selection and +continues with normal menu-completion. The functions tt(accept-and-hold) and tt(accept-and-menu-complete) can be used to accept the match currently inserted and continue inserting matches after that. Matches inserted this way can be removed by invoking the tt(undo) function. Keys bound to one of @@ -116,4 +121,9 @@ keys in the the tt(menuselect) keymap can be modified directly using the tt(bindkey) builtin command (see ifzman(zmanref(zshmodules))\ ifnzman(noderef(The zle Module))\ -). +). For example, to make the return key leave menu-selection and +continue with normal menu-completion one can call + +indent(tt(bindkey -M menuselect '^J' send-break)) + +after loading the tt(complist) module. |