mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-20 18:08:02 +02:00
Add info about Kitty terminal
This commit is contained in:
parent
38544258df
commit
31fce36c1a
35
doc/ctpv.1
35
doc/ctpv.1
@ -159,6 +159,27 @@ set cleaner ctpvclear
|
|||||||
cmd on-quit $ctpv -e $id
|
cmd on-quit $ctpv -e $id
|
||||||
.Ee
|
.Ee
|
||||||
.
|
.
|
||||||
|
.SS Image previews
|
||||||
|
.
|
||||||
|
Image previews are enabled by either installing
|
||||||
|
.I Überzug
|
||||||
|
(as seen in
|
||||||
|
.IR Dependencies )
|
||||||
|
or using built-in image preview functionality of
|
||||||
|
.I Kitty
|
||||||
|
terminal.
|
||||||
|
.PP
|
||||||
|
.
|
||||||
|
Note: if you use
|
||||||
|
.I Kitty
|
||||||
|
but
|
||||||
|
.I Überzug
|
||||||
|
is installed on the system, the latter will be the preferred
|
||||||
|
method for previewing images. It can be changed using
|
||||||
|
.B forcekitty
|
||||||
|
option (see
|
||||||
|
.IR "Preview options" ).
|
||||||
|
.
|
||||||
.SS How previews are selected
|
.SS How previews are selected
|
||||||
.
|
.
|
||||||
Initially,
|
Initially,
|
||||||
@ -182,7 +203,7 @@ Finally,
|
|||||||
.B ctpv
|
.B ctpv
|
||||||
goes through the list starting with the first element
|
goes through the list starting with the first element
|
||||||
and checks if a preview matches
|
and checks if a preview matches
|
||||||
.IR file \(aqs
|
.IR file 's
|
||||||
extension and MIME type.
|
extension and MIME type.
|
||||||
If it does, it runs a preview script.
|
If it does, it runs a preview script.
|
||||||
If the script exits with status 127
|
If the script exits with status 127
|
||||||
@ -235,6 +256,18 @@ Comments start with number sign
|
|||||||
.RB ( # )
|
.RB ( # )
|
||||||
like in many other formats.
|
like in many other formats.
|
||||||
.
|
.
|
||||||
|
.SS Preview options
|
||||||
|
.
|
||||||
|
An option can be set using
|
||||||
|
.B set
|
||||||
|
command.
|
||||||
|
.
|
||||||
|
.TP
|
||||||
|
.B forcekitty
|
||||||
|
Always use
|
||||||
|
.I Kitty
|
||||||
|
terminal's built-in method of previewing images.
|
||||||
|
.
|
||||||
.SS Defining custom previews
|
.SS Defining custom previews
|
||||||
.
|
.
|
||||||
A snippet below defines a new preview with name
|
A snippet below defines a new preview with name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user