feat(config): add kitty tab bar with git info and split-launch shortcut

This commit is contained in:
Prad Nukala committed 2026-08-31 10:42:46 -04:00
1 parent a6ff6eafbf
commit 941d455cf5
2 files changed
+224 -3

No files matched your search

+9 -3
View File
@@ -49,7 +49,11 @@ map ctrl+shift+k next_tab
# Shortcuts
map ctrl+shift+g launch_ov lazygit
map ctrl+shift+f launch_tb yazi
map ctrl+shift+e launch_tb nvim
# nvim in the current dir, left of the active pane, 50/50. kitty can only add a
# split *after* the active window, so `layout_action rotate 180` swaps the two
# halves of the pair the launch just created — nvim ends up on the left and keeps
# focus. Mirrors ctrl+shift+e in the herdr host (position = "left" there).
map ctrl+shift+e combine : launch_vs50 nvim : layout_action rotate 180
# herdr host: a *separate* kitty process, own config (launch cannot take --config)
# tmux host: same trick — kitty stays dumb, tmux owns panes/windows/sessions
map ctrl+shift+p launch_hs atuin-pick
@@ -89,8 +93,10 @@ tab_powerline_style angled
tab_bar_align left
tab_bar_edge top
tab_title_template " {index}"
active_tab_title_template " {title}"
# Titles come from ~/.config/kitty/tab_bar.py (`{custom}`): tab index, cwd, git
# branch and per-tab change counts. Active tabs use the same text; the powerline
# colors already say which tab is focused.
tab_title_template "{custom}"