diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 59aac658..a846d092 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,6 +50,7 @@ mod terminal_theme; mod ui; mod update; mod workspace; +mod worktree; fn init_logging() { crate::logging::init_file_logging("herdr.log"); @@ -100,6 +101,9 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # open_notification_target = "prefix+o" # workspace_picker = "prefix+w" # new_workspace = "prefix+shift+n" +# new_worktree = "prefix+shift+g" +# open_worktree = "" # optional, unset by default +# remove_worktree = "" # optional, unset by default; opens confirmation # rename_workspace = "prefix+shift+w" # close_workspace = "prefix+shift+d" # previous_workspace = "" # optional, unset by default @@ -144,6 +148,9 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # workspaces = "" # e.g. "ctrl+shift" makes ctrl+shift+1..9 switch workspaces directly # agents = "" # e.g. "alt" makes alt+1..9 focus agent rows directly +# [worktrees] +# directory = "~/.herdr/worktrees" + [ui] # Sidebar width (auto-scaled based on workspace names, this sets the default) # sidebar_width = 26 |
