Kitty

My favorite terminal emulator for Linux and macOS.

Config

Linux

scrollback_lines 100000
env TERM=xterm-256color

# The default rename shortcut "ctrl+shift+alt+t" is not convinient
map f2 set_tab_title

# Making tab switching more convinient
map alt+1 goto_tab 1
map alt+2 goto_tab 2
map alt+3 goto_tab 3
map alt+4 goto_tab 4
map alt+5 goto_tab 5
map alt+6 goto_tab 6
map alt+7 goto_tab 7
map alt+8 goto_tab 8
map alt+9 goto_tab 9

# See https://sw.kovidgoyal.net/kitty/performance/
input_delay 0
repaint_delay 2
sync_to_monitor no # to actually achieve 100 FPS

macOS

scrollback_lines 100000
env TERM=xterm-256color

# The default rename shortcut "shift+command+i" is not convinient
map f2 set_tab_title

# Making tab switching more convinient
map command+1 goto_tab 1
map command+2 goto_tab 2
map command+3 goto_tab 3
map command+4 goto_tab 4
map command+5 goto_tab 5
map command+6 goto_tab 6
map command+7 goto_tab 7
map command+8 goto_tab 8
map command+9 goto_tab 9

# See https://sw.kovidgoyal.net/kitty/performance/
input_delay 0
repaint_delay 2
sync_to_monitor no # to actually achieve 100 FPS

Themes

Change the current theme:

kitty +kitten themes

The list of recent themes:

# macOS
❯ cat ~/Library/Caches/kitty/unicode-input.json
{"recent":["Spacemacs","Bluloco Light"],"category":"recent"}

# Linux
❯ cat ~/.cache/kitty/themes-kitten.json
{"recent":["Spacemacs","Bluloco Light"],"category":"recent"}