From ed7afd2dd1673db38d039124eb41324ba8e83901 Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Mon, 23 May 2022 17:25:19 +0200 Subject: [PATCH] Improve preview-tui kitty documentation --- plugins/preview-tui | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/preview-tui b/plugins/preview-tui index b04053a2..5d088edd 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -21,7 +21,7 @@ # - optional: bsdtar or atool for additional archive preview # - optional: bat for code syntax highlighting # - optional: ueberzug, kitty terminal, viu or catimg for images -# - optional: convert(ImageMagick) for playing gif preview +# - optional: convert(ImageMagick) for playing gif preview (required for kitty image previews) # - optional: ffmpegthumbnailer for video thumbnails (https://github.com/dirkvdb/ffmpegthumbnailer) # - optional: ffmpeg for audio thumbnails # - optional: libreoffce for opendocument/officedocument preview @@ -64,10 +64,12 @@ # 'h'orizontal split or a 'v'ertical split (as in, the line that splits the # windows will be horizontal or vertical). # -# Kitty users need `allow_remote_control` set to `yes`, and `listen_on` set -# to e.g. "unix:$TMPDIR/kitty" and ImageMagick installed (which is required by kitty icat script). To customize the window split, `enabled_layouts` -# has to be set to `all` or `splits` (the former is the default value). -# This terminal is also able to show images without extra dependencies. +# Kitty users need something similar to the following in their kitty.conf: +# - `allow_remote_control yes` +# - `listen_on unix:$TMPDIR/kitty` +# - `enabled_layouts splits` (optional) +# With ImageMagick installed, this terminal can use the icat kitten to display images. +# Refer to kitty documentation for further details. # # Iterm2 users are recommended to use viu to view images without getting pixelated. #