67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
# vim:fileencoding=utf-8:foldmethod=marker
|
|
#: Tab bar {{{
|
|
tab_activity_symbol none
|
|
bell_on_tab no
|
|
tab_separator ""
|
|
tab_bar_edge bottom
|
|
tab_bar_margin_width 0.0
|
|
tab_bar_margin_height 0.0 0.0
|
|
tab_bar_style custom
|
|
tab_bar_align left
|
|
tab_bar_min_tabs 1
|
|
tab_switch_strategy previous
|
|
tab_title_template "{f'{title[:30]}…' if title.rindex(title[-1]) + 1 > 30 else (title.center(6) if (title.rindex(title[-1]) + 1) % 2 == 0 else title.center(5))}"
|
|
active_tab_font_style bold
|
|
inactive_tab_font_style bold
|
|
#: }}}
|
|
|
|
#: Color scheme {{{
|
|
background_opacity 1
|
|
# Tabs
|
|
active_tab_background #7aa2f7
|
|
active_tab_foreground #1f2335
|
|
inactive_tab_background #292e42
|
|
inactive_tab_foreground #545c7e
|
|
#tab_bar_background #15161E
|
|
#: }}}
|
|
|
|
#: Advanced {{{
|
|
confirm_os_window_close -2
|
|
#: }}}
|
|
|
|
#: Keyboard shortcuts {{{
|
|
# Tab management
|
|
map kitty_mod+( goto_tab 1
|
|
map kitty_mod+) goto_tab 2
|
|
map kitty_mod+} goto_tab 3
|
|
map kitty_mod++ goto_tab 4
|
|
map kitty_mod+{ goto_tab 5
|
|
map kitty_mod+] goto_tab 6
|
|
map kitty_mod+[ goto_tab 7
|
|
map kitty_mod+! goto_tab 8
|
|
map kitty_mod+= goto_tab 9
|
|
map kitty_mod+1 goto_tab 1
|
|
map kitty_mod+2 goto_tab 2
|
|
map kitty_mod+3 goto_tab 3
|
|
map kitty_mod+4 goto_tab 4
|
|
map kitty_mod+5 goto_tab 5
|
|
map kitty_mod+6 goto_tab 6
|
|
map kitty_mod+7 goto_tab 7
|
|
map kitty_mod+8 goto_tab 8
|
|
map kitty_mod+9 goto_tab 9
|
|
map kitty_mod+t new_tab
|
|
map kitty_mod+alt+t set_tab_title
|
|
|
|
# Window Management
|
|
enabled_layouts Tall
|
|
map kitty_mod+enter new_window_with_cwd
|
|
map kitty_mod+q close_window
|
|
map kitty_mod+j next_window
|
|
map kitty_mod+k previous_window
|
|
map kitty_mod+h resize_window wider
|
|
map kitty_mod+l resize_window narrower
|
|
map kitty_mod+alt+j move_window_forward
|
|
map kitty_mod+alt+k move_window_backward
|
|
map kitty_mod+space move_window_to_top
|
|
#: }}}
|