mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 19:32:50 +03:00
b6b26e345d
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.
483 B
483 B
less
Open a file for interactive reading, allowing scrolling and search.
- Open a file:
less {{source_file}}
- Page down / up:
<Space> (down), b (up)
- Go to end / start of file:
G (end), g (start)
- Forward search for a string (press
n
/N
to go to next/previous match):
/{{something}}
- Backward search for a string (press
n
/N
to go to next/previous match):
?{{something}}
- Enable output of ANSI colors:
git diff --color | less -R
- Exit:
q