Skip to content

Kitty

  • GitHub
  • Wayland native
  • config text file
  • Native image preview: kitty +kitten icat file.jpg

Image support

For mdcat image rendering also install:

eget linebender/resvg

Native image support

imgcat

Different imgcat projects:

  • SilinMeng0510/imgcatr
    • Rust, 28 commits
    • last release 2024-01
    • AUR package: imgcatr-git
    • Doesn't properly render
      • rust-logo-128x128.png: Very blurry
      • rust-logo.svg: Cannot display SVGs
  • eddieantonio/imgcat
    • C, 283 commits
    • last release 2023-12
    • AUR package: imgcat-git
    • Doesn't properly render
      • rust-logo-128x128.png: Very blurry
      • rust-logo.svg: ✅
  • trashhalo/imgcat
    • Go
    • Last release 2020
    • AUR packages:
    • Doesn't properly render
      • rust-logo-128x128.png: Very blurry
      • rust-logo.svg: Cannot display SVGs

Test:

cd ~/projects/markup/markdown/mdcat/sample/
imgcat /tmp/rust-logo.svg

Configuration

TERM

ssh

Arch wiki: kitty / Terminal issues with SSH

Solution for ssh:

  • Use kitten ssh … or kitty +kitten ssh … which automatically installs the kitty terminfo on the remote server
  • On every Debian/Ubuntu server you ssh into using kitty, install the i.e. Debian kitty-terminfo package

Usage

Key bindings

Themes

Set theme for all Kitty instances:

kitten themes --reload-in=all Catppuccin-Mocha
kitten themes --reload-in=all "Gruvbox Material Dark Medium"
kitten themes --reload-in=all "Gruvbox Dark"

Interactively select theme for current window:

kitten themes

Issues