Lines Matching +full:in +full:- +full:line
4 lesskey \- customize key bindings for less
6 .B "lesskey [\-o output] [\-\-] [input]"
8 .B "lesskey [\-\-output=output] [\-\-] [input]"
10 .B "lesskey \-V"
12 .B "lesskey \-\-version"
19 In previous versions of
42 Each section starts with a line that identifies the type of section.
46 .IP #line-edit
47 Customizes line-editing key bindings.
55 The command section begins with the line
59 If the command section is the first section in the file,
60 this line may be omitted.
63 \fIstring\fP <whitespace> \fIaction\fP [extra-string] <newline>
69 The characters in the \fIstring\fP may appear literally, or be
89 \ekB ctrl-BACKSPACE
96 \ekL ctrl-LEFT ARROW
98 \ekR ctrl-RIGHT ARROW
103 \ekX ctrl-DELETE
117 string is parsed, just as if it were typed in to
119 This feature can be used in certain cases to extend
121 For example, see the "{" and ":t" commands in the example below.
132 Documentation on each command can be found in the
140 \er forw-line
141 \en forw-line
142 e forw-line
143 j forw-line
144 \ekd forw-line
145 ^E forw-line
146 ^N forw-line
147 k back-line
148 y back-line
149 ^Y back-line
150 ^K back-line
151 ^P back-line
152 J forw-line-force
153 K back-line-force
154 Y back-line-force
155 d forw-scroll
156 ^D forw-scroll
157 u back-scroll
158 ^U back-scroll
159 \e40 forw-screen
160 f forw-screen
161 ^F forw-screen
162 ^V forw-screen
163 \ekD forw-screen
164 b back-screen
165 ^B back-screen
166 \eev back-screen
167 \ekU back-screen
168 z forw-window
169 w back-window
170 \ee\e40 forw-screen-force
171 F forw-forever
172 \eeF forw-until-hilite
173 R repaint-flush
177 \eeu undo-hilite
178 \eeU clear-search
179 g goto-line
180 \ekh goto-line
181 < goto-line
182 \ee< goto-line
185 \ee( left-scroll
186 \ee) right-scroll
187 \ekl left-scroll
188 \ekr right-scroll
189 \ee{ no-scroll
190 \ee} end-scroll
191 { forw-bracket {}
192 } back-bracket {}
193 ( forw-bracket ()
194 ) back-bracket ()
195 [ forw-bracket []
196 ] back-bracket []
197 \ee^F forw-bracket
198 \ee^B back-bracket
199 G goto-end
200 \ee> goto-end
201 > goto-end
202 \eke goto-end
203 \eeG goto-end-buffered
207 / forw-search
208 ? back-search
209 \ee/ forw-search *
210 \ee? back-search *
211 n repeat-search
212 \een repeat-search-all
213 N reverse-search
214 \eeN reverse-search-all
215 ^O^N osc8-forw-search
216 ^On osc8-forw-search
217 ^O^P osc8-back-search
218 ^Op osc8-back-search
219 ^O^O osc8-open
221 m set-mark
222 M set-mark-bottom
223 \eem clear-mark
224 \&' goto-mark
225 ^X^X goto-mark
229 :n next-file
230 :p prev-file
231 t next-tag
232 T prev-tag
233 :x index-file
234 :d remove-file
235 - toggle-option
236 :t toggle-option t
237 s toggle-option o
240 ## s toggle-option -log-file\en
241 \&_ display-option
272 A default command key may be disabled by including it in the
280 In addition, ALL default commands may be disabled by
281 adding this control line to the input file:
286 The #stop line should be the last line in that section of the file.
290 you must provide sufficient commands before the #stop line
294 .SH "LINE EDITING SECTION"
295 The line-editing section begins with the line:
297 #line-edit
299 This section specifies new key bindings for the line editing commands,
300 in a manner similar to the way key bindings for
301 ordinary commands are specified in the #command section.
302 The line-editing section consists of a list of keys and actions,
303 one per line as in the example below.
307 default line-editing keys used by
313 #line-edit
314 \et forw-complete
315 \e17 back-complete
316 \ee\et back-complete
324 \eeb word-left
325 \ee\ekl word-left
326 \eew word-right
327 \ee\ekr word-right
331 \eeX word-delete
332 \eekx word-delete
333 \ee\eb word-backspace
347 The environment variable section begins with the line
351 Following this line is a list of environment variable assignments.
352 Each line consists of an environment variable name, an equals sign (=)
355 Variables assigned in this way are visible only to
357 If a variable is specified in the system environment and also in a
358 lesskey file, the value in the lesskey file takes precedence.
364 the same variable's original definition (with an = line),
366 It can append only to a variable defined earlier in the file;
367 it cannot append to a variable in the system environment.
370 it should be appended to the end of the preceding line.
375 In the string after the = sign, a substring of the form ${NAME}
378 an earlier lesskey file, or an earlier definition in the current lesskey file.
381 This replaces all instances of "STRING" in the named
385 An instance of slash or right curly bracket in STRING or REPL
393 If a line begins with #version followed by a relational operator and a version number,
394 the remainder of the line is parsed if and only if the running version of
402 For example, suppose that a new command named 'sideways-search' is added in
405 Then the following line would assign the command to the Q key, but only in versions of
407 which support it. The line would be ignored by versions earlier than 777.
410 #version >= 777 Q sideways-search
426 The #version feature is not supported in
431 In those older versions, all #version lines are ignored.
434 The following input file sets the \-i and \-S options when
436 is run and, on version 595 and higher, adds a \-\-color option.
440 ## (Note that there must be a space at the end of the next line,
441 ## to separate the --color option from the -S option.)
442 LESS = \-i\ \-S\
443 #version\ >=\ 595\ \ LESS\ +=\ \-\-color=Hkc
450 On MS-DOS and OS/2 systems, certain keys send a sequence of characters
452 This NUL character should be represented as \e340 in a lesskey file.
455 Copyright (C) 1984-2024 Mark Nudelman
462 See the file README in the less distribution for more details
467 Suite 330, Boston, MA 02111-1307, USA.
471 less is distributed in the hope that it will be useful, but