From 9befac323ac6fc0c1d31aa7ce0dbe3bc9907377c Mon Sep 17 00:00:00 2001 From: toonn Date: Sun, 1 Sep 2019 17:59:02 +0200 Subject: Add example to copymap manpage entry Fixes #1678 --- doc/ranger.1 | 5 +++-- doc/ranger.pod | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index eba636b3..8944d4b1 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.2" "2019-09-17" "ranger manual" +.TH RANGER 1 "ranger-1.9.2" "2019-09-18" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -1265,7 +1265,8 @@ See \f(CW\*(C`copymap\*(C'\fR .IX Item "copymap key newkey [newkey2 ...]" Copies the keybinding \fIkey\fR to \fInewkey\fR in the \*(L"browser\*(R" context. This is a deep copy, so if you change the new binding (or parts of it) later, the old one -is not modified. +is not modified. For example, \fIcopymap j down\fR will make the key sequence +\&\*(L"down\*(R" move the cursor down one item. .Sp To copy key bindings of the console, taskview, or pager use \*(L"copycmap\*(R", \&\*(L"copytmap\*(R" or \*(L"copypmap\*(R". diff --git a/doc/ranger.pod b/doc/ranger.pod index 2702a415..34a012ea 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1325,7 +1325,8 @@ See C Copies the keybinding I to I in the "browser" context. This is a deep copy, so if you change the new binding (or parts of it) later, the old one -is not modified. +is not modified. For example, I will make the key sequence +"down" move the cursor down one item. To copy key bindings of the console, taskview, or pager use "copycmap", "copytmap" or "copypmap". -- cgit 1.4.1-2-gfad0