Skip to content

Instantly share code, notes, and snippets.

@smarteist
Last active September 1, 2025 05:22
Show Gist options
  • Select an option

  • Save smarteist/755daf47274cf756e0de10ab0c11b7e7 to your computer and use it in GitHub Desktop.

Select an option

Save smarteist/755daf47274cf756e0de10ab0c11b7e7 to your computer and use it in GitHub Desktop.
My kitty conf
# Colors
background_opacity 0.95
#foreground #d2d7d7
#background #120e0a
#cursor #d2d7d7
#active_tab_foreground #120e0a
#active_tab_background #d2d7d7
#inactive_tab_foreground #d2d7d7
#inactive_tab_background #120e0a
#active_border_color #d2d7d7
#inactive_border_color #120e0a
#bell_border_color #C18F61
#color0 #120e0a
#color8 #939696
#color1 #C18F61
#color9 #C18F61
#color2 #396B98
#color10 #396B98
#color3 #557694
#color11 #557694
#color4 #668BA9
#color12 #668BA9
#color5 #67A0C9
#color13 #67A0C9
#color6 #9BA0A3
#color14 #9BA0A3
#color7 #d2d7d7
#color15 #d2d7d7
# ftpd monokai
#foreground #c6c7c7
#background #161616
#cursor #c7c7c7
#cursor_text_color #feffff
#selection #c1ddff
#selection_text_color #000000
#color0 #161616
#color1 #fd4285
#color2 #a6e22d
#color3 #e5da72
#color4 #0094d8
#color5 #9a37ff
#color6 #50b6d8
#color7 #c7c7c7
#color8 #676767
#color9 #fa7fac
#color10 #bde271
#color11 #fff27f
#color12 #00bdff
#color13 #bd9eff
#color14 #5ed6fe
#color15 #feffff
# ftpd gruvbox
#foreground #ebdbb2
#background #1d2021
#cursor #ebdbb2
##cursor text #272727
#selection #ebdbb2
##selection text #655b53
#color0 #282828
#color1 #cc241d
#color2 #98971a
#color3 #d79921
#color4 #458588
#color5 #b16286
#color6 #689d6a
#color7 #a89984
#color8 #928374
#color9 #fb4934
#color10 #b8bb26
#color11 #fabd2f
#color12 #83a598
#color13 #d3869b
#color14 #8ec07c
#color15 #ebdbb2
# lovetocode999 conf
#include ./kitty-themes/kitty-gruvbox-dark.conf
#include ./kitty-alternative-themes/themes/Monokai_Pro_(Filter_Ristretto).conf
include theme.conf
# Fonts {{{
font_family Hack Nerd Font Mono
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.0
force_ltr no
adjust_line_height 110%
adjust_column_width 0
disable_ligatures cursor
# }}}
# Cursor {{{
cursor_shape block
cursor_blink_interval -1
cursor_stop_blinking_after 15.0
# }}}
# Scrollback {{{
scrollback_lines 2000
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager_history_size 0
wheel_scroll_multiplier 5.0
touch_scroll_multiplier 1.0
# }}}
# Mouse {{{
mouse_hide_wait 3.0
url_color #458588
url_style single
open_url_modifiers kitty_mod
open_url_with qutebrowser
url_prefixes http https file ftp gemini
detect_urls yes
copy_on_select kitty_select
strip_trailing_spaces smart
rectangle_select_modifiers ctrl+alt
terminal_select_modifiers shift
select_by_word_characters @-./_~?&=%+#
click_interval -1.0
focus_follows_mouse no
pointer_shape_when_grabbed arrow
default_pointer_shape beam
pointer_shape_when_dragging beam
# }}}
# Performance {{{
repaint_delay 10
input_delay 3
sync_to_monitor yes
# }}}
# Bell {{{
enable_audio_bell no
visual_bell_duration 0
window_alert_on_bell yes
bell_on_tab yes
command_on_bell none
# }}}
# Window layout {{{
remember_window_size yes
initial_window_width 640
initial_window_height 400
enabled_layouts tall,stack,fat,grid,splits,horizontal,vertical
window_resize_step_cells 2
window_resize_step_lines 2
window_border_width 0.5pt
draw_minimal_borders no
window_margin_width 1.5
single_window_margin_width 0
window_padding_width 2
placement_strategy center
active_border_color #98971a
inactive_border_color #32302f
bell_border_color #d79921
inactive_text_alpha 0.7
hide_window_decorations no
resize_debounce_time 0.1
resize_draw_strategy static
resize_in_steps no
confirm_os_window_close 1
# }}}
# Tab bar {{{
tab_bar_edge bottom
tab_bar_margin_width 0
tab_bar_style separator
tab_bar_min_tabs 2
tab_switch_strategy previous
tab_separator " | "
tab_activity_symbol none
tab_title_template "{index}: {title}{' ['+num_windows.__str__()+']' if num_windows > 1 else ''}"
active_tab_title_template "{index}: {title}{' ['+num_windows.__str__()+']' if num_windows > 1 and layout_name == 'stack' else ''}"
active_tab_foreground #d4be98
active_tab_background #504945
active_tab_font_style bold
inactive_tab_foreground #a89984
inactive_tab_background #282828
inactive_tab_font_style normal
tab_bar_background none
# }}}
# Advanced settings {{{
shell /usr/bin/zsh
editor nvim
close_on_child_death yes
allow_remote_control yes
listen_on unix:/tmp/mykitty
clipboard_control write-clipboard write-primary
allow_hyperlinks yes
term xterm-kitty
# }}}
# Keyboard shortcuts {{{
# Clipboard
map super+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map super+c copy_to_clipboard
map shift+insert paste_from_selection
# Scrolling
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+k scroll_line_up
map ctrl+shift+j scroll_line_down
map ctrl+shift+page_up scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback
# Window management
map super+n new_os_window
map super+w close_window
map ctrl+shift+enter new_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window
map ctrl+shift+f move_window_forward
map ctrl+shift+b move_window_backward
map ctrl+shift+` move_window_to_top
map ctrl+shift+1 first_window
map ctrl+shift+2 second_window
map ctrl+shift+3 third_window
map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window
# Tab management
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
map ctrl+shift+t new_tab
map ctrl+shift+q close_tab
map ctrl+shift+l next_layout
map ctrl+shift+. move_tab_forward
map ctrl+shift+, move_tab_backward
# Miscellaneous
map ctrl+shift+up increase_font_size
map ctrl+shift+down decrease_font_size
map ctrl+shift+backspace restore_font_size
# }}}
# vim:foldmethod=marker:foldlevel=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment