diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 18 | ||||
-rw-r--r-- | doc/ranger.pod | 18 |
2 files changed, 12 insertions, 24 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index 271316ac..21de675d 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -211,21 +211,15 @@ typing \fI"<tagname>\fR. .SS "\s-1PREVIEWS\s0" .IX Subsection "PREVIEWS" By default, only text files are previewed, but you can enable external preview -scripts by creating \fI~/.config/ranger/scope.sh\fR (see preview_script option.) -This script will then be executed each time you attempt to preview a file. +scripts by setting the option \f(CW\*(C`use_preview_script\*(C'\fR and \f(CW\*(C`preview_files\*(C'\fR to True. .PP -Fetch the default scope.sh (from \fIranger/data/scope.sh\fR) by running -\&\f(CW\*(C`ranger \-\-copy\-config=scope\*(C'\fR -.PP -This default script contains more documentation and calls to the programs -\&\fIlynx\fR and \fIelinks\fR for html, \fIhighlight\fR for text/code, \fIimg2txt\fR for -images, \fIatool\fR for archives, \fIpdftotext\fR for PDFs and \fImediainfo\fR for video -and audio -files. +This default script is \fI~/.config/ranger/scope.sh\fR. It contains more +documentation and calls to the programs \fIlynx\fR and \fIelinks\fR for html, +\&\fIhighlight\fR for text/code, \fIimg2txt\fR for images, \fIatool\fR for archives, +\&\fIpdftotext\fR for PDFs and \fImediainfo\fR for video and audio files. .PP Install these programs (just the ones you need) and scope.sh will automatically -use them. Make sure to also have the options \*(L"use_preview_script\*(R" and -\&\*(L"preview_files\*(R" turned on. +use them. .SS "\s-1SELECTION\s0" .IX Subsection "SELECTION" The \fIselection\fR is defined as \*(L"All marked files \s-1IF\s0 \s-1THERE\s0 \s-1ARE\s0 \s-1ANY\s0, otherwise diff --git a/doc/ranger.pod b/doc/ranger.pod index 86157d23..eabdc0d9 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -112,21 +112,15 @@ typing I<"<tagnameE<gt>>. =head2 PREVIEWS By default, only text files are previewed, but you can enable external preview -scripts by creating F<~/.config/ranger/scope.sh> (see preview_script option.) -This script will then be executed each time you attempt to preview a file. +scripts by setting the option C<use_preview_script> and C<preview_files> to True. -Fetch the default scope.sh (from F<ranger/data/scope.sh>) by running -C<ranger --copy-config=scope> - -This default script contains more documentation and calls to the programs -I<lynx> and I<elinks> for html, I<highlight> for text/code, I<img2txt> for -images, I<atool> for archives, I<pdftotext> for PDFs and I<mediainfo> for video -and audio -files. +This default script is F<~/.config/ranger/scope.sh>. It contains more +documentation and calls to the programs I<lynx> and I<elinks> for html, +I<highlight> for text/code, I<img2txt> for images, I<atool> for archives, +I<pdftotext> for PDFs and I<mediainfo> for video and audio files. Install these programs (just the ones you need) and scope.sh will automatically -use them. Make sure to also have the options "use_preview_script" and -"preview_files" turned on. +use them. =head2 SELECTION |