From b6b26e345d8f2c9ba40ddc9a0302a46a12c3f0fc Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Tue, 11 Oct 2016 14:34:23 -0500 Subject: [PATCH] less, more: Don't use ...then... in examples Instead, explain additional keystrokes in the example title. See https://github.com/tldr-pages/tldr/pull/1106/commits/ee1472e76f2c3241a2f4bb96a56b824af724c64c#r82836295 Also, change order of examples to down/up, end/start and next/previous to keep consistency. --- pages/common/less.md | 16 ++++++++-------- pages/common/more.md | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/common/less.md b/pages/common/less.md index 322538c4f..c4d7f2de2 100644 --- a/pages/common/less.md +++ b/pages/common/less.md @@ -6,21 +6,21 @@ `less {{source_file}}` -- Page up / down: +- Page down / up: -` (next), b (previous)` +` (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: diff --git a/pages/common/more.md b/pages/common/more.md index 81da1074c..1ea8a9a67 100644 --- a/pages/common/more.md +++ b/pages/common/more.md @@ -10,9 +10,9 @@ `` -- Search for a string: +- Search for a string (press `n` to go to the next match): -`/{{something}} then n (next)` +`/{{something}}` - Exit: