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
- icat kitten
- GitHub
- Best results, much better than all
imgcat*
apps below
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 blurryrust-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 blurryrust-logo.svg
: ✅
- trashhalo/imgcat
- Go
- Last release 2020
- AUR packages:
- Doesn't properly render
rust-logo-128x128.png
: Very blurryrust-logo.svg
: Cannot display SVGs
Test:
cd ~/projects/markup/markdown/mdcat/sample/
imgcat /tmp/rust-logo.svg
Configuration
TERM
- I get errors about the terminal being unknown or opening the terminal failing or functional keys like arrow keys don’t work?
- Can we talk about "xterm-kitty"?
- Please submit xterm-kitty terminfo to ncurses database
Solution for ssh:
- Use
kitten ssh myserver
which automatically installs the kitty terminfo on the remote server - On every server you ssh into using kitty, install the i.e. Debian kitty-terminfo package
Usage
- Search terminal scrollback:
ctrl+shift+h
Themes
- Kitty docs: Changing kitty colors
- kovidgoyal/kitty-themes
- catppuccin/kitty
- Archived gruvbox-material-kitty theme
- Archived kitty-gruvbox-theme
- Outdated AUR package
Set theme for all Kitty instances:
kitten themes --reload-in=all Catppuccin-Mocha
kitten themes --reload-in=all Gruvbox\ Dark
Interactively select theme for current window:
kitten themes
Issues
- "Phones home": Remove update notifications