kitty and codex conf

This commit is contained in:
Petr Nyc
2026-09-29 22:29:40 +02:00
parent 291db7c6cc
commit dfbcd5c81c
3 changed files with 54 additions and 49 deletions
+39 -2
View File
@@ -2350,6 +2350,7 @@ hide_window_decorations no
#: inside it to take effect.
# macos_option_as_alt no
macos_option_as_alt both
#: Use the Option key as an Alt key on macOS. With this set to no,
#: kitty will use the macOS native Option+Key to enter Unicode
@@ -3331,8 +3332,8 @@ tab_bar_align left
tab_bar_min_tabs 1
tab_separator " "
tab_activity_symbol "•"
tab_title_template "{index}:{activity_symbol}{title}{bell_symbol}"
active_tab_title_template "{index}:{title}*{bell_symbol}{activity_symbol}"
tab_title_template "{index}:{activity_symbol}{title}({num_windows}){bell_symbol}"
active_tab_title_template "{index}:{title}*({num_windows}){bell_symbol}{activity_symbol}"
active_tab_font_style normal
inactive_tab_font_style normal
@@ -3349,3 +3350,39 @@ map alt+6 goto_tab 6
map alt+7 goto_tab 7
map alt+8 goto_tab 8
map alt+9 goto_tab 9
# tmux-style Ctrl+A prefix
map ctrl+a>ctrl+a send_text all \x01
map ctrl+a>q focus_visible_window
# Tabs — equivalent to tmux windows
map ctrl+a>c new_tab
map ctrl+a>n next_tab
map --allow-fallback=shifted,ascii alt+n next_tab
map ctrl+a>p previous_tab
map --allow-fallback=shifted,ascii alt+p previous_tab
map ctrl+a>1 goto_tab 1
map ctrl+a>2 goto_tab 2
map ctrl+a>3 goto_tab 3
map ctrl+a>4 goto_tab 4
map ctrl+a>5 goto_tab 5
map ctrl+a>6 goto_tab 6
map ctrl+a>7 goto_tab 7
map ctrl+a>8 goto_tab 8
map ctrl+a>9 goto_tab 9
map ctrl+a>0 goto_tab 10
map ctrl+a>, set_tab_title
# Panes
map ctrl+a>| combine : goto_layout splits : launch --location=vsplit
map ctrl+a>s combine : goto_layout splits : launch --location=hsplit
map ctrl+a>- combine : goto_layout splits : launch --location=hsplit
map ctrl+a>x close_window
map ctrl+a>h neighboring_window left
map ctrl+a>j neighboring_window down
map ctrl+a>k neighboring_window up
map ctrl+a>l neighboring_window right
map ctrl+a>r start_resizing_window
# Temporarily maximize the current pane
map ctrl+a>z toggle_layout stack