Skip to content

Instantly share code, notes, and snippets.

@xheisenbugx
Created July 2, 2026 15:52
Show Gist options
  • Select an option

  • Save xheisenbugx/97fd348ec5cb7ff6966a56b8a0e6b203 to your computer and use it in GitHub Desktop.

Select an option

Save xheisenbugx/97fd348ec5cb7ff6966a56b8a0e6b203 to your computer and use it in GitHub Desktop.
kitty.conf
############
### Font ###
############
font_family BlexMono Nerd Font Mono
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14.0
modify_font cell_height 110%
# Ghostty's font-thicken has no direct kitty equivalent.
##############
### Window ###
##############
window_padding_width 0
draw_minimal_borders yes
hide_window_decorations yes
confirm_os_window_close 0
remember_window_size yes
remember_window_position yes
# Restore the Ghostty startup workflow.
shell /bin/zsh -lc "tmux new -A -s backend"
# Ghostty's macos-non-native-fullscreen=visible-menu and
# window-padding-color=extend-always do not have exact kitty equivalents.
macos_option_as_alt yes
##################
### Aesthetics ###
##################
# Catppuccin Mocha for kitty.
# Source: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf
foreground #cdd6f4
background #1e1e2e
selection_foreground #1e1e2e
selection_background #f5e0dc
cursor #f5e0dc
cursor_text_color #1e1e2e
cursor_shape beam
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_blink_interval 0
cursor_stop_blinking_after 0
# Kitty-native substitute for Ghostty's cursor_warp custom shader.
cursor_trail 1
cursor_trail_decay 0.01 0.5
cursor_trail_start_threshold 0
scrollbar_handle_color #9399b2
scrollbar_track_color #45475a
url_color #f5e0dc
active_border_color #b4befe
inactive_border_color #6c7086
bell_border_color #f9e2af
wayland_titlebar_color system
macos_titlebar_color system
active_tab_foreground #11111b
active_tab_background #cba6f7
inactive_tab_foreground #cdd6f4
inactive_tab_background #181825
tab_bar_background #11111b
mark1_foreground #1e1e2e
mark1_background #b4befe
mark2_foreground #1e1e2e
mark2_background #cba6f7
mark3_foreground #1e1e2e
mark3_background #74c7ec
color0 #45475a
color1 #f38ba8
color2 #a6e3a1
color3 #f9e2af
color4 #89b4fa
color5 #f5c2e7
color6 #94e2d5
color7 #bac2de
color8 #585b70
color9 #f38ba8
color10 #a6e3a1
color11 #f9e2af
color12 #89b4fa
color13 #f5c2e7
color14 #94e2d5
color15 #a6adc8
############
### Misc ###
############
scrollback_lines 10000
shell_integration no-cursor no-title
enable_audio_bell no
mouse_hide_wait 0
copy_on_select yes
allow_remote_control yes
close_on_child_death yes
editor nvim
# Clipboard behavior from the referenced kitty config.
paste_actions quote-urls-at-prompt,confirm-if-large
###################
### Keybindings ###
###################
# Kitty utilities.
map super+shift+r load_config_file
map ctrl+insert copy_to_clipboard
map shift+insert paste_from_clipboard
map super+n new_os_window
# Ghostty: keybind = super+backspace=esc:w
map super+backspace send_text all \x1bw
# TMUX integration. Leader is ctrl+b.
# Go to tmux window by index.
map super+1 send_text all \x021
map super+2 send_text all \x022
map super+3 send_text all \x023
map super+4 send_text all \x024
map super+5 send_text all \x025
map super+6 send_text all \x026
map super+7 send_text all \x027
map super+8 send_text all \x028
map super+9 send_text all \x029
# New tmux window: ctrl+b c.
map super+t send_text all \x02c
# Close tmux pane: ctrl+b x.
map super+w send_text all \x02x
# Switch to window using tmux-fzf: ctrl+b T.
map super+p send_text all \x02T
# Rename tmux window: ctrl+b ,.
map super+r send_text all \x02,
# Previous and next tmux window.
map super+h send_text all \x02p
map super+l send_text all \x02n
# Split panes.
map super+minus send_text all \x02"
map super+shift+backslash send_text all \x02%
# Toggle pane zoom: ctrl+b z.
map super+z send_text all \x02z
# Move tmux window left/right using your custom Alt+i / Alt+o bindings.
map super+i send_text all \x1bi
map super+o send_text all \x1bo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment