diff options
author | pgen <p.gen.progs@gmail.com> | 2018-07-09 19:31:25 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2018-07-11 22:30:43 +0200 |
commit | c8935430852dadf34a14cad4f546089da8d3b710 (patch) | |
tree | 68daabd906352bd836260438ced4a6f5715bb052 /smenu.1 | |
parent | 4dfb28872bc0a0cc26ec79653bd4a0da9722825d (diff) |
Add the prefix/suffix affinity when searching
Diffstat (limited to 'smenu.1')
-rw-r--r-- | smenu.1 | 44 |
1 files changed, 44 insertions, 0 deletions
@@ -187,9 +187,53 @@ session but do not clear the list of the matching words. The user can then use the \fBn\fP/\fBSPACE\fP keys (forward) and the \fBN\fP key (backward) to navigate in the mathing words list. .PP +If the user hits the \fBHome\fP or \fBEnd\fP key during a search session +then the matched word list is reduced to the words starting (respectively) +ending with the curent search pattern and the window is actialized. + +by example, if the search pattern is \f(CBsh\fP and the user hits +\fBEnd\fP, then only the words \fIending\fP with \f(CBsh\fP will be +added in the searched word list and enhanced. + When not in a search session \fBESC\fP can be used to clear this list and reset the search buffer. .PP +In summary, here is the meaning of the special keys in search mode: +.TS +tab(@); +lb s s +l l c +l lw(9c) c . +Keys which clear the matched words list. +Key@Meaning@Closes the search session +_ +Esc@Cancel search@Yes + +.T& +lb s s +l l c +l lw(9c) c . +Keys which keep or update the matched words list. +Key@Meaning@Closes the search session +_ +\(<-@Previous word@Yes +\(ua@Previous line@Yes +PgUp@Previous page@Yes +CTRL+Home, SHIFT+Home, CTRL+k@First word@Yes +\(->@Next word@Yes +\(da@Next line@Yes +PgDn@Next pages@Yes +CTRL+End, SHIFT+End, CTRL+j@Last word@Yes +Home@T{ +Only keep the words starting with the search pattern +T}@No +End@T{ +Only keep the words ending with the search pattern +T}@No +Ins@Tag word@No +Del@Untag word@No +.TE +.PP Note that the search buffer is persistent as long as the same search algorithm is used and \fBESC\fP has not been pressed. .SS "Selection and Exit" |