aboutsummaryrefslogtreecommitdiff
path: root/dot_config/herdr/config.toml
blob: dc1ddd1fd9d0b053b9c6387d349202ceca73b26a (plain) (blame)
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
onboarding = false

[theme]
name = "catppuccin"

[terminal]
# New panes inherit the focused pane's working directory.
new_cwd = "follow"

[ui]
# Keep the project/workspace sidebar visible and useful.
sidebar_width = 28
sidebar_min_width = 20
sidebar_max_width = 38

# Visually distinguish Herdr panes without wasting much space.
pane_borders = true
pane_gaps = true

# Hide the tab bar when a workspace only has one tab.
hide_tab_bar_when_single_tab = true

# Mouse support is useful on the Mac, particularly while learning Herdr.
mouse_capture = true
copy_on_select = true

show_agent_labels_on_pane_borders = false
agent_panel_sort = "spaces"
[keys]
prefix = "ctrl+space"

# Project switching.
workspace_picker = "prefix+w"
goto = "prefix+g"
switch_workspace = "prefix+shift+1..9"
previous_workspace = "prefix+shift+["
next_workspace = "prefix+shift+]"

# Quickly return to the previously focused pane, even across workspaces.
last_pane = "prefix+backtick"

# Tabs inside the current project.
new_tab = "prefix+c"
previous_tab = "prefix+p"
next_tab = "prefix+n"
switch_tab = "prefix+1..9"

# Pane operations.
split_vertical = "prefix+/"
split_horizontal = "prefix+minus"
zoom = "prefix+z"
close_pane = "prefix+x"

# Keep prefixed navigation as an escape hatch.
focus_pane_left = "prefix+h"
focus_pane_down = "prefix+j"
focus_pane_up = "prefix+k"
focus_pane_right = "prefix+l"

# Direct pane swapping, local to Herdr.
swap_pane_left = "ctrl+h"
swap_pane_down = "ctrl+j"
swap_pane_up = "ctrl+k"
swap_pane_right = "ctrl+l"

# [[keys.command]]
# key = "ctrl+h"
# type = "plugin_action"
# command = "herdr-splits.nav-left"
# description = "navigate left through Neovim and Herdr"
#
# [[keys.command]]
# key = "ctrl+j"
# type = "plugin_action"
# command = "herdr-splits.nav-down"
# description = "navigate down through Neovim and Herdr"
#
# [[keys.command]]
# key = "ctrl+k"
# type = "plugin_action"
# command = "herdr-splits.nav-up"
# description = "navigate up through Neovim and Herdr"
#
# [[keys.command]]
# key = "ctrl+l"
# type = "plugin_action"
# command = "herdr-splits.nav-right"
# description = "navigate right through Neovim and Herdr"
#
# [[keys.command]]
# key = "alt+h"
# type = "plugin_action"
# command = "herdr-splits.resize-left"
# description = "resize left"
#
# [[keys.command]]
# key = "alt+j"
# type = "plugin_action"
# command = "herdr-splits.resize-down"
# description = "resize down"
#
# [[keys.command]]
# key = "alt+k"
# type = "plugin_action"
# command = "herdr-splits.resize-up"
# description = "resize up"
#
# [[keys.command]]
# key = "alt+l"
# type = "plugin_action"
# command = "herdr-splits.resize-right"
# description = "resize right"

[ui.toast]
delivery = "herdr"

[experimental]
kitty_graphics = true