about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-09-01 17:59:02 +0200
committertoonn <toonn@toonn.io>2019-09-18 17:42:25 +0200
commit9befac323ac6fc0c1d31aa7ce0dbe3bc9907377c (patch)
treef89b12d514b47041c6662cf39201091af0cd760f /doc
parent3c739a3bd29b2d3dc2553c00115dc40f6966882c (diff)
downloadranger-9befac323ac6fc0c1d31aa7ce0dbe3bc9907377c.tar.gz
Add example to copymap manpage entry
Fixes #1678
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.15
-rw-r--r--doc/ranger.pod3
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<copymap>
 
 Copies the keybinding I<key> to I<newkey> 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<copymap j down> 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".