feat(herdr): add worktrunk, automatic-rename, and zoxide plugins
Add worktrunk keybindings for worktree management (switch/create/remove), shell hooks for automatic-rename in bash and fish, and zoxide directory browsing. Add mise setup task to install all three plugins. Enable auto theme switching.
This commit is contained in:
@@ -3,16 +3,107 @@ onboarding = false
|
||||
show_agent_labels_on_pane_borders = true
|
||||
pane_gaps = false
|
||||
pane_borders = true
|
||||
prompt_new_tab_name = false
|
||||
|
||||
[experimental]
|
||||
pane_history = true
|
||||
|
||||
[theme]
|
||||
name = "gruvbox"
|
||||
auto_switch = false
|
||||
auto_switch = true
|
||||
|
||||
[keys]
|
||||
prefix = "ctrl+space"
|
||||
|
||||
[remote]
|
||||
manage_ssh_config = true
|
||||
|
||||
# Override herdr's built-in "new worktree" key (prefix+shift+g) with worktrunk's
|
||||
# default-branch switch/create picker:
|
||||
[[keys.command]]
|
||||
key = "prefix+shift+g"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.open"
|
||||
description = "Worktree: switch / create from default branch"
|
||||
|
||||
# Optional: bind current-branch creation separately.
|
||||
[[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+d"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.remove"
|
||||
description = "Worktree: remove"
|
||||
|
||||
# Override herdr's built-in "new worktree" key (prefix+shift+g) with worktrunk's
|
||||
# default-branch switch/create picker:
|
||||
[[keys.command]]
|
||||
key = "prefix+shift+g"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.open"
|
||||
description = "Worktree: switch / create from default branch"
|
||||
|
||||
# Optional: bind current-branch creation separately.
|
||||
[[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+d"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.remove"
|
||||
description = "Worktree: remove"
|
||||
|
||||
# Override herdr's built-in "new worktree" key (prefix+shift+g) with worktrunk's
|
||||
# default-branch switch/create picker:
|
||||
[[keys.command]]
|
||||
key = "prefix+shift+g"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.open"
|
||||
description = "Worktree: switch / create from default branch"
|
||||
|
||||
# Optional: bind current-branch creation separately.
|
||||
[[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+d"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.remove"
|
||||
description = "Worktree: remove"
|
||||
|
||||
# Override herdr's built-in "new worktree" key (prefix+shift+g) with worktrunk's
|
||||
# default-branch switch/create picker:
|
||||
[[keys.command]]
|
||||
key = "prefix+shift+g"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.open"
|
||||
description = "Worktree: switch / create from default branch"
|
||||
|
||||
# Optional: bind current-branch creation separately.
|
||||
[[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+d"
|
||||
type = "plugin_action"
|
||||
command = "worktrunk.remove"
|
||||
description = "Worktree: remove"
|
||||
|
||||
[[keys.command]]
|
||||
key = "prefix+o"
|
||||
type = "plugin_action"
|
||||
command = "herdr-zoxide.browse"
|
||||
description = "Browse zoxide directories"
|
||||
|
||||
Reference in New Issue
Block a user