mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-23 21:33:07 +01:00
Minor
This commit is contained in:
parent
c0228a964a
commit
cab396ae6c
@ -8,6 +8,11 @@ lb lb\
|
||||
l li .\
|
||||
File type\tPrograms
|
||||
|
||||
# Substitute '-' with '\-'
|
||||
:a
|
||||
s/\(\t.*[^\\]\)-/\1\\-/
|
||||
ta
|
||||
|
||||
# Format rows
|
||||
s/\t/&T{\n/; s/$/\nT}/
|
||||
|
||||
|
17
doc/ctpv.1
17
doc/ctpv.1
@ -23,7 +23,8 @@ ctpv \- terminal previewer
|
||||
.
|
||||
.SY ctpv
|
||||
.B \-m
|
||||
.IR file \&.\|.\|.\&
|
||||
.I file
|
||||
\&.\|.\|.\&
|
||||
.YS
|
||||
.
|
||||
.SY ctpv
|
||||
@ -61,6 +62,8 @@ or
|
||||
.IR w3m
|
||||
installed on your system to view HTML files.
|
||||
.
|
||||
.PP
|
||||
.
|
||||
.\" This table is auto generated!
|
||||
.
|
||||
.\" TABLESTART
|
||||
@ -106,7 +109,7 @@ pdf T{
|
||||
pdftoppm
|
||||
T}
|
||||
text T{
|
||||
bat cat highlight source-highlight
|
||||
bat cat highlight source\-highlight
|
||||
T}
|
||||
torrent T{
|
||||
transmission\-show
|
||||
@ -202,7 +205,7 @@ and standard error are printed.
|
||||
List all previews.
|
||||
.
|
||||
.TP
|
||||
\fB\-m\fP \fIfile\fP.\|.\|.\&
|
||||
\fB\-m\fP \fIfile\fP .\|.\|.\&
|
||||
Print extension and MIME type of
|
||||
.IR file .
|
||||
.
|
||||
@ -237,7 +240,7 @@ There are several commands that can be used to add
|
||||
previews or set different settings.
|
||||
Commands are separated by newlines.
|
||||
Comments start with number sign
|
||||
.RB \(lq # \(rq.
|
||||
.RB \(oq # \(cq.
|
||||
.
|
||||
.PP
|
||||
Example:
|
||||
@ -319,7 +322,7 @@ preview manpage .1 {{
|
||||
.
|
||||
.PP
|
||||
Running
|
||||
.I "ctpv\ file.1"
|
||||
.I "ctpv\~file.1"
|
||||
where
|
||||
.I file.1
|
||||
is a source code for a manpage will run
|
||||
@ -385,7 +388,7 @@ preview json_example application/json {{
|
||||
.PP
|
||||
You can omit subtype part of the MIME type
|
||||
by replacing it with
|
||||
.RB \(lq * \(rq.
|
||||
.RB \(oq * \(cq.
|
||||
.
|
||||
.IP
|
||||
.EX
|
||||
@ -396,7 +399,7 @@ preview any_text_example text/* {{
|
||||
.
|
||||
.PP
|
||||
Setting subtype to
|
||||
.RB \(lq * \(rq
|
||||
.RB \(oq * \(cq
|
||||
will make the preview above apply to any file which MIME type starts with
|
||||
.BR text/ .
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user