less, more: Don't use ...then... in examples

Instead, explain additional keystrokes in the example title. See
ee1472e76f (r82836295)

Also, change order of examples to down/up, end/start and next/previous
to keep consistency.
waldyrious/alt-syntax
Eric Nielsen 2016-10-11 14:34:23 -05:00 committed by Agniva De Sarker
parent 7681e7fa89
commit b6b26e345d
2 changed files with 10 additions and 10 deletions

View File

@ -6,21 +6,21 @@
`less {{source_file}}`
- Page up / down:
- Page down / up:
`<Space> (next), b (previous)`
`<Space> (down), b (up)`
- Go to start / end of file:
- Go to end / start of file:
`g (start), G (end)`
`G (end), g (start)`
- Forward search for a string:
- Forward search for a string (press `n`/`N` to go to next/previous match):
`/{{something}} then n (next), N (previous)`
`/{{something}}`
- Backward search for a string:
- Backward search for a string (press `n`/`N` to go to next/previous match):
`?{{something}} then n (next), N (previous)`
`?{{something}}`
- Enable output of ANSI colors:

View File

@ -10,9 +10,9 @@
`<Space>`
- Search for a string:
- Search for a string (press `n` to go to the next match):
`/{{something}} then n (next)`
`/{{something}}`
- Exit: