2026-09-07 16:58:08 -07:00
|
|
|
{ ... }: {
|
|
|
|
|
|
|
|
|
|
home.file.".config/herdr/config.toml" = {
|
|
|
|
|
text = ''
|
2026-11-20 12:31:01 -08:00
|
|
|
onboarding = false
|
|
|
|
|
|
2026-09-07 16:58:08 -07:00
|
|
|
[keys]
|
|
|
|
|
prefix = "ctrl+a"
|
|
|
|
|
|
|
|
|
|
# Use tmux-style session selection for workspace navigation.
|
|
|
|
|
workspace_picker = "prefix+s"
|
|
|
|
|
settings = "prefix+shift+s"
|
|
|
|
|
|
2026-11-19 17:32:09 -08:00
|
|
|
# j/k switch workspaces in the picker; pane up/down move to the arrows.
|
|
|
|
|
navigate_workspace_up = "k"
|
|
|
|
|
navigate_workspace_down = "j"
|
|
|
|
|
navigate_pane_up = "up"
|
|
|
|
|
navigate_pane_down = "down"
|
|
|
|
|
|
2026-09-07 16:58:08 -07:00
|
|
|
# Side-by-side panes (tmux's "|" / "\" split -h).
|
|
|
|
|
# NOTE: "backslash" as a key name is inferred, not confirmed in the docs.
|
|
|
|
|
# Verify against `herdr --default-config` and adjust if it doesn't bind.
|
|
|
|
|
split_vertical = "prefix+backslash"
|
|
|
|
|
|
|
|
|
|
# Stacked panes (tmux's "-" / "_" split -v).
|
|
|
|
|
split_horizontal = "prefix+minus"
|
|
|
|
|
|
|
|
|
|
detach = "prefix+d"
|
|
|
|
|
|
|
|
|
|
# Kept "f" for next-tab like the old tmux config; herdr's
|
|
|
|
|
# previous_tab default (prefix+p) already matched.
|
|
|
|
|
next_tab = "prefix+f"
|
|
|
|
|
|
|
|
|
|
close_pane = "prefix+w"
|
|
|
|
|
close_tab = "prefix+shift+w"
|
|
|
|
|
|
|
|
|
|
# Kept "," for rename-tab like the old tmux default.
|
|
|
|
|
rename_tab = "prefix+,"
|
|
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
|
mouse_capture = true
|
|
|
|
|
|
|
|
|
|
[session]
|
|
|
|
|
# Replaces tmux-resurrect/continuum: agents and panes come back on reattach.
|
|
|
|
|
resume_agents_on_restore = true
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|