Skip to content

Instantly share code, notes, and snippets.

@latusikl
Last active May 15, 2023 11:43
Show Gist options
  • Save latusikl/53653cd7fb496e1201d3f093333a9fce to your computer and use it in GitHub Desktop.
Save latusikl/53653cd7fb496e1201d3f093333a9fce to your computer and use it in GitHub Desktop.
My Kitty configuration file
# Treat Option button as Alt
macos_option_as_alt
# Use all predefined layouts except stacked
# See https://sw.kovidgoyal.net/kitty/overview/#layouts
enabled_layouts='tall','fat','grid','horizontal','vertical'
#Scrollback options
scrollback_lines 5000
scrollback_pager_history_size 500
#UI options
window_border_width 1pt
window_padding_width 1 0.5
tab_bar_edge top
tab_bar_style slant
tab_bar_margin_height 1.0 1.0
background_opacity 0.8
font_size 13
#Key bindings
## Manage terminal windows ##
map ctrl+shift+left neighboring_window left
map ctrl+shift+right neighboring_window right
map ctrl+shift+up neighboring_window up
map ctrl+shift+down neighboring_window down
map ctrl+d detach_window ask
map ctrl+shift+cmd+left move_window left
map ctrl+shift+cmd+right move_window right
map ctrl+shift+cmd+up move_window up
map ctrl+shift+cmd+down move_window down
map ctrl+left resize_window narrower
map ctrl+right resize_window wider
map ctrl+up resize_window taller
map ctrl+down resize_window shorter 3
map ctrl+shift+r resize_window reset
## Manage terminal tabs ##
map ctrl+alt+right next_tab
map ctrl+shift+s select_tab
map ctrl+alt+left previous_tab
map ctrl+cmd+d detach_tab
map f1 set_tab_title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment