From 4b917d2752f7b8af98765e23101b4caeaaa8b8c9 Mon Sep 17 00:00:00 2001 From: toonn Date: Mon, 2 Sep 2019 14:18:52 +0200 Subject: Remove redundant copymap sections The extra entries pointing from `copycmap` and co. to `copymap` only contributed noise and confusion making their explanation harder to find. This has summarily been dealt with using my exemplary SEO skills ; ) Fixes #1678 --- doc/ranger.1 | 13 ++----------- doc/ranger.pod | 16 ++-------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index 8944d4b1..c9f56403 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1258,9 +1258,6 @@ Binds keys for the console. Works like the \f(CW\*(C`map\*(C'\fR command. .IX Item "console [-pN] command" Opens the console with the command already typed in. The cursor is placed at \&\fIN\fR. -.IP "copycmap \fIkey\fR \fInewkey\fR [\fInewkey2\fR ...]" 2 -.IX Item "copycmap key newkey [newkey2 ...]" -See \f(CW\*(C`copymap\*(C'\fR .IP "copymap \fIkey\fR \fInewkey\fR [\fInewkey2\fR ...]" 2 .IX Item "copymap key newkey [newkey2 ...]" Copies the keybinding \fIkey\fR to \fInewkey\fR in the \*(L"browser\*(R" context. This is a @@ -1268,14 +1265,8 @@ deep copy, so if you change the new binding (or parts of it) later, the old one 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". -.IP "copypmap \fIkey\fR \fInewkey\fR [\fInewkey2\fR ...]" 2 -.IX Item "copypmap key newkey [newkey2 ...]" -See \f(CW\*(C`copymap\*(C'\fR -.IP "copytmap \fIkey\fR \fInewkey\fR [\fInewkey2\fR ...]" 2 -.IX Item "copytmap key newkey [newkey2 ...]" -See \f(CW\*(C`copymap\*(C'\fR +To copy key bindings of the console, taskview or pager use \*(L"copycmap\*(R", +\&\*(L"copytmap\*(R" or \*(L"copypmap\*(R" respectively. .IP "cunmap [\fIkeys...\fR]" 2 .IX Item "cunmap [keys...]" Removes key mappings of the console. Works like the \f(CW\*(C`unmap\*(C'\fR command. diff --git a/doc/ranger.pod b/doc/ranger.pod index 34a012ea..f6dd6592 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1317,10 +1317,6 @@ Binds keys for the console. Works like the C command. Opens the console with the command already typed in. The cursor is placed at I. -=item copycmap I I [I ...] - -See C - =item copymap I I [I ...] Copies the keybinding I to I in the "browser" context. This is a @@ -1328,16 +1324,8 @@ deep copy, so if you change the new binding (or parts of it) later, the old one 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". - -=item copypmap I I [I ...] - -See C - -=item copytmap I I [I ...] - -See C +To copy key bindings of the console, taskview or pager use "copycmap", +"copytmap" or "copypmap" respectively. =item cunmap [I] -- cgit 1.4.1-2-gfad0