kitty is a scriptable OpenGL based terminal emulator with TrueColor, ligatures support, protocol extensions for keyboard input and image rendering. It also offers tiling capabilities, like GNU Screen or tmux.
kitty is relatively new, of which first release (v0.1.0) was in Feb 2017. It however does not mean it is still premature.
Install the package.
New tabs and windows can be created and resized through various
Ctrl+Shift shortcuts. Layouts are switchable through
Ctrl+Shift+l and can be saved/restored.
A full keyboard mode provides distinction between ambiguous keys like
Tab. Moreover, new text effects like curly-underline are also available for applications that support it.
kitty has a framework for creating subprograms called kittens. Some of them:
$ kitty +kitten icat image.jpeg # show image in the terminal (needs imagemagick) $ kitty +kitten diff file1 file2 # show diff of two files $ kitty +kitten clipboard # this kitten allows working with clipboard even over ssh
kitty is configurable in
~/.config/kitty/kitty.conf. Fonts, colors, cursors and scrollback behaviors can be adjusted. You can see available options in the official documentation. Also you can find there configuration file used by default.
Terminal issues with SSH
When kitty is used to ssh into a remote that does not have its terminfo, various issues can occur. The solution is normally to copy over the terminfo. Kitty has an ssh kitten to automate exactly this.
kitty +kitten ssh user@host
You may want to set it as an alias for
If for whatever reason you are unable to install the terminfo on the remote, you can try setting
TERM to something that is more likely to be present. Note that this might disable some of the terminal's features.
TERM='xterm-256color' ssh user@host