Add Kitty Tab bar config

This commit is contained in:
Jan Eitzinger 2024-08-16 10:09:52 +02:00
parent 3aabdce72a
commit ff97b9b8b3
Signed by: moebiusband
GPG Key ID: 2574BA29B90D6DD5

View File

@ -1,25 +1,9 @@
font_family BrutalistMono Nerd Font
bold_font BrutalistMono Nerd Font Bold
italic_font BrutalistMono Nerd Font Italic
# bold_italic_font auto
font_size {{ .fontsize }}
text_composition_strategy 1.0
# cursor #32cd32
#: Default cursor color
# cursor_text_color #000000
#: Choose the color of text under the cursor. If you want it rendered
#: with the background color of the cell underneath instead, use the
#: special keyword: background
# cursor_shape block
#: The cursor shape can be one of (block, beam, underline)
# cursor_blink_interval 0.5
# cursor_stop_blinking_after 15.0
# scrollback_lines 2000
#: Number of lines of history to keep in memory for scrolling back.
@ -196,27 +180,13 @@ enabled_layouts Horizontal,Stack
#: between zero and one, with zero being fully faded).
tab_bar_edge top
tab_bar_style separator
tab_separator " ┇"
tab_bar_style powerline
tab_powerline_style round
tab_bar_background #434C5E
shell {{ .shell }}
#: The shell program to execute. The default value of . means to use
#: whatever shell is set as the default shell for the current user.
#: Note that on macOS if you change this, you might need to add
#: --login to ensure that the shell starts in interactive mode and
#: reads its startup rc files.
editor nvim
#: The console editor to use when editing the kitty config file or
#: similar tasks. A value of . means to use the environment variable
#: EDITOR. Note that this environment variable has to be set not just
#: in your shell startup scripts but system-wide, otherwise kitty will
#: not see it.
# close_on_child_death no
#: Close the window when the child process (shell) exits. If no (the
@ -372,7 +342,7 @@ macos_custom_beam_cursor yes
#: map ctrl+f>2 set_font_size 20
# kitty_mod ctrl+shift
kitty_mod alt
#: The value of kitty_mod is used as the modifier for all default
#: shortcuts, you can change it in your kitty.conf to change the
@ -486,16 +456,26 @@ macos_custom_beam_cursor yes
# map alt+8 goto_tab 8
# map alt+9 goto_tab 9
# map alt+t set_tab_title
# map ctrl+tab next_tab
# map kitty_mod+right next_tab
# map ctrl+shift+tab previous_tab
# map kitty_mod+left previous_tab
# map kitty_mod+t new_tab
# map kitty_mod+q close_tab
# map kitty_mod+. move_tab_forward
# map kitty_mod+, move_tab_backward
# map kitty_mod+alt+t set_tab_title
# map ctrl+tab next_tab
# map ctrl+shift+tab previous_tab
#
map kitty_mod+n new_tab
map kitty_mod+right next_tab
map kitty_mod+left previous_tab
map kitty_mod+tab goto_tab -1
map kitty_mod+w close_tab
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+R set_tab_title
#: You can also create shortcuts to go to specific tabs, with 1 being
#: the first tab::