Repository navigation
Expand file tree
/
Copy pathconfig.toml
More file actions
212 lines (180 loc) · 5.49 KB
/
Copy pathconfig.toml
File metadata and controls
212 lines (180 loc) · 5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# Herdr keybindings inspired by Omarchy tmux (Linux / Alt).
# macOS install uses config.macos.toml (Option instead of Alt).
# https://learn.omacom.io/2/the-omarchy-manual/53/hotkeys#tmux
#
# Split of responsibility:
# - Native Herdr keys own panes/tabs/workspaces (Omarchy session/window analogs)
# - Dev-layout plugin owns the sticky-agent layout
# - herdr-worktrunk owns git worktree pickers (not workspace close)
# Herdr 0.9: native close_workspace does not close linked worktree children.
#
# Worktree paths: Worktrunk keeps sibling checkouts (<repo>.<branch> next to main).
# Herdr groups those as child workspaces via `herdr worktree open|create --path`
# (see worktrunk herdr-layout.sh) — not by relocating under ~/.herdr/worktrees.
onboarding = false
[theme]
name = "gruvbox"
auto_switch = true
light_name = "gruvbox-light"
dark_name = "gruvbox"
[terminal]
new_cwd = "follow"
# Unset default_shell: Herdr uses $SHELL (bash on typical Linux, zsh on macOS).
# Forcing bash makes macOS print "update your account to use zsh" in every pane.
shell_mode = "auto"
[keys]
prefix = "ctrl+space"
# Workspaces ≈ Omarchy tmux sessions (Alt+Up/Down)
previous_workspace = "alt+up"
next_workspace = "alt+down"
workspace_picker = "prefix+w"
new_workspace = "prefix+shift+n"
rename_workspace = "prefix+shift+w"
close_workspace = "prefix+shift+k"
detach = "prefix+shift+q"
# Tabs ≈ Omarchy tmux windows
new_tab = "prefix+c"
previous_tab = "prefix+p"
next_tab = "prefix+n"
# Native Alt+Left/Right and Alt+1..9 paint the destination tab before stickies
# can dock. Plugin actions assemble the three columns on the hidden tab first.
# close_tab/close_pane are plugin actions: native close would kill stickies or
# crash a 3-column file tab.
switch_tab = ""
close_tab = ""
rename_tab = "prefix+shift+t"
# Panes — Ctrl+Alt+Arrows (Omarchy-style). Alt+Left/Right stays previous/next tab.
split_vertical = "prefix+h"
split_horizontal = "prefix+v"
close_pane = ""
zoom = "prefix+z"
focus_pane_left = "ctrl+alt+left"
focus_pane_down = "ctrl+alt+down"
focus_pane_up = "ctrl+alt+up"
focus_pane_right = "ctrl+alt+right"
# Native Herdr new_worktree (prefix+shift+g) is replaced by worktrunk.open below.
new_worktree = ""
[[keys.command]]
key = "prefix+q"
type = "shell"
command = "herdr server reload-config"
description = "Reload config"
# --- Agentic layout (three-column workspace) ---
[[keys.command]]
key = "prefix+d"
type = "plugin_action"
command = "agentic-dev.layout.apply"
description = "Apply agentic layout"
[[keys.command]]
key = "prefix+1"
type = "plugin_action"
command = "agentic-dev.layout.focus-agent"
description = "Focus agent pane"
[[keys.command]]
key = "prefix+2"
type = "plugin_action"
command = "agentic-dev.layout.select-review"
description = "Review view"
[[keys.command]]
key = "prefix+3"
type = "plugin_action"
command = "agentic-dev.layout.select-shell"
description = "Shell view"
[[keys.command]]
key = "prefix+k"
type = "plugin_action"
command = "agentic-dev.layout.close-tab"
description = "Close file tab"
[[keys.command]]
key = "prefix+x"
type = "plugin_action"
command = "agentic-dev.layout.close-pane"
description = "Close pane"
[[keys.command]]
key = "alt+left"
type = "plugin_action"
command = "agentic-dev.layout.select-prev-tab"
description = "Previous tab"
[[keys.command]]
key = "alt+right"
type = "plugin_action"
command = "agentic-dev.layout.select-next-tab"
description = "Next tab"
[[keys.command]]
key = "alt+1"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-1"
description = "Focus tab 1"
[[keys.command]]
key = "alt+2"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-2"
description = "Focus tab 2"
[[keys.command]]
key = "alt+3"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-3"
description = "Focus tab 3"
[[keys.command]]
key = "alt+4"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-4"
description = "Focus tab 4"
[[keys.command]]
key = "alt+5"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-5"
description = "Focus tab 5"
[[keys.command]]
key = "alt+6"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-6"
description = "Focus tab 6"
[[keys.command]]
key = "alt+7"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-7"
description = "Focus tab 7"
[[keys.command]]
key = "alt+8"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-8"
description = "Focus tab 8"
[[keys.command]]
key = "alt+9"
type = "plugin_action"
command = "agentic-dev.layout.select-tab-9"
description = "Focus tab 9"
[[keys.command]]
key = "prefix+b"
type = "plugin_action"
command = "agentic-dev.layout.toggle-sidebar"
description = "Toggle files pane"
[[keys.command]]
key = "prefix+e"
type = "plugin_action"
command = "agentic-dev.layout.select-files"
description = "Files"
[[keys.command]]
key = "prefix+g"
type = "plugin_action"
command = "agentic-dev.layout.select-source-control"
description = "Source control"
# --- Git worktrees (herdr-worktrunk plugin) ---
# Intentionally replaces Herdr's basic new_worktree with the fzf picker.
# close_workspace stays native on prefix+shift+k (Omarchy kill-session analog).
[[keys.command]]
key = "prefix+shift+g"
type = "plugin_action"
command = "worktrunk.open"
description = "Worktree: switch / create from default branch"
[[keys.command]]
key = "prefix+shift+c"
type = "plugin_action"
command = "worktrunk.open-current"
description = "Worktree: switch / create from current branch"
[[keys.command]]
key = "prefix+shift+r"
type = "plugin_action"
command = "worktrunk.remove"
description = "Worktree: remove"