ttys3 /oh-my-kitty

Oh my kitty! (the kitty config for tmux users)

★ 299⑂ 49👁 5⑃ 3● 2▤ 0
PythonCreated 2022-03-03
+0
Daily
+0
Weekly
299
stars
49
forks
5
watchers
3
prs
2
issues
0
releases

README

Oh my kitty!

the kitty config for tmux users

the shortcuts (key bindings) is heavily inspired by Oh my tmux!

mainly used under Linux

 new features

 session support

kitty = 0.43 finally support session save and allow you to switch between sessions.

we now support save current session to the session file via single keypress ctrl+as.

you 'll need to create a default session file for the first time.

shell
touch ~/.config/kitty/default.kitty-session


TODO: more session management features like:
1. switch between sessions
2. delete session
3. rename session
4. list sessions

 usage

shell
 backup your config first
 mv ~/.config/kitty  ~/.config/kitty.bak

git clone https://github.com/ttys3/oh-my-kitty.git ~/.config/kitty

touch ~/.config/kitty/default.kitty-session  create a default session file


 customization

 override default config

 ⚠️ Breaking change: the local override file was renamed from the per-user
 ${USER}.local.conf (e.g. alice.local.conf) to a fixed name my.local.conf, and it
 is now pulled in with globinclude instead of include. If you already had a
 ${USER}.local.conf, rename it after pulling this update — otherwise your overrides
 silently stop loading (globinclude skips the missing old file without any warning):

 shell
 mv ~/.config/kitty/${USER}.local.conf ~/.config/kitty/my.local.conf
 

You can override any default setting in a git-ignored local config file: my.local.conf. It is pulled in at the end of kitty.conf via globinclude my.local.conf, so any settings in it override the defaults — letting you customize kitty without touching the tracked config, which keeps the base config easy to update. Because it uses globinclude, kitty silently skips the file when it does not exist, so creating it is optional.

A tracked template my.local.conf.example ships with the repo — copy it to get started:

shell
cp ~/.config/kitty/my.local.conf.example ~/.config/kitty/my.local.conf


Example: Override font family and size

conf
 ~/.config/kitty/my.local.conf
font_family Lilex
font_size 13.0


You can override any kitty setting in this file. Common customizations include:
- font_family - Change the font
- font_size - Adjust font size
- background_opacity - Set transparency
- background_image - Set background image
- And any other kitty configuration option

After creating or modifying my.local.conf, reload the config with ctrl+aR or restart kitty.

 per-OS config (opt-in)

Not enabled by default. When you share one config between Linux and macOS but some
settings must differ per platform, pull in a per-OS file from your my.local.conf:

conf
 ~/.config/kitty/my.local.conf
include ${KITTY_OS}.local.conf


When processing include, kitty expands ${KITTY_OS} to linux, macos or bsd, so this
loads linux.local.conf or macos.local.conf (relative to the config dir). Both match the
/.local.conf rule in .gitignore, so they stay machine-local like my.local.conf.

Example: remote control socket

kitty.conf already sets allow_remote_control yes, bu

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON