add worktree shortcut

This commit is contained in:
2026-06-19 14:24:35 +02:00
parent 08fcb93e01
commit 77fb5e7e11
4 changed files with 62 additions and 3 deletions

View File

@@ -146,6 +146,9 @@ enabled = true
[scrollback]
editor_command = "vi {file}"
[worktree]
relative_worktree_path = "./.worktrees"
[env.override]
ZELLIJ_SESSION_NAME = ""
@@ -163,6 +166,7 @@ previous_tab = "ALT+SHIFT+H"
next_tab = "ALT+SHIFT+L"
open_font_selector = "ALT+T"
open_scrollback = "ALT+S"
open_worktree = "ALT+W"
```
## Defaults
@@ -178,6 +182,8 @@ open_scrollback = "ALT+S"
- `Alt+Shift+h` / `Alt+Shift+l`: previous / next tab
- `Alt+t`: open the font selector
- `Alt+s`: open the active pane scrollback in `$EDITOR`
- `Alt+w`: edit a worktree name, then run `git worktree add <relative_worktree_path>/<name>`
from the previously focused pane's working directory
- Font default: `JetBrainsMono Nerd Font`
- Kitty graphics protocol parsing is enabled by default