From 1f3dcc273bd69d43ab24395fc81d1da9a3ae1b4c Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 20 Dec 2019 00:26:33 +0100 Subject: Add bat to documentation --- doc/ranger.1 | 12 +++++++++--- doc/ranger.pod | 8 +++++++- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 5a159e12..40819395 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.2" "2018-10-26" "ranger manual" +.TH RANGER 1 "ranger-1.9.2" "20-12-2019" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -281,7 +281,8 @@ scripts by setting the option \f(CW\*(C`use_preview_script\*(C'\fR and \f(CW\*(C This default script is \fI\f(CI%rangerdir\fI/data/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 or \fImutool\fR for PDFs and \fImediainfo\fR for video and audio files. +\&\fIpdftotext\fR or \fImutool\fR for PDFs and \fImediainfo\fR for video and audio files +and others. .PP Install these programs (just the ones you need) and scope.sh will automatically use them. @@ -1623,6 +1624,11 @@ the \*(L"S\*(R" key. Defaults to \*(L"/bin/sh\*(R". .IX Item "TERMCMD" Defines the terminal emulator command that ranger is going to use with the :terminal command and the \*(L"t\*(R" run flag. Defaults to \*(L"xterm\*(R". +.IP "\s-1BAT_STYLE\s0" 8 +.IX Item "BAT_STYLE" +Specifies the theme to be used for syntax highlighting when \fIbat\fR is +installed, unless \fIhighlight\fR is also installed. Find out possible values by +running \f(CW\*(C`bat \-\-list\-themes\*(C'\fR. .IP "\s-1XDG_CONFIG_HOME\s0" 8 .IX Item "XDG_CONFIG_HOME" Specifies the directory for configuration files. Defaults to \fI\f(CI$HOME\fI/.config\fR. diff --git a/doc/ranger.pod b/doc/ranger.pod index 8fbc8826..81a9dfea 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -192,7 +192,8 @@ scripts by setting the option C and C to true This default script is F<%rangerdir/data/scope.sh>. It contains more documentation and calls to the programs I and I for html, I for text/code, I for images, I for archives, -I or I for PDFs and I for video and audio files. +I or I for PDFs and I for video and audio files +and others. Install these programs (just the ones you need) and scope.sh will automatically use them. @@ -1770,6 +1771,11 @@ the "S" key. Defaults to "/bin/sh". Defines the terminal emulator command that ranger is going to use with the :terminal command and the "t" run flag. Defaults to "xterm". +=item BAT_STYLE + +Specifies the theme to be used for syntax highlighting when I is +installed, unless I is also installed. Find out possible values by +running C. =item XDG_CONFIG_HOME -- cgit 1.4.1-2-gfad0