Worktree Notes
Pressi to open notes for the selected worktree.
Note Viewer
If a note already exists, LazyWorktree opens a viewer first: Navigation:j/kor arrow keys - Scroll line by lineCtrl+D/Ctrl+U- Half-page navigationg/G- Jump to top/bottome- Edit the noteq/Esc- Close viewer
Note Editor
If no note exists, LazyWorktree opens the editor directly: Controls:Enter- Add a new lineCtrl+S- Save noteCtrl+X- Open in external editorEsc- Cancel (discard changes)
The external editor is configured via the
editor setting (default: $EDITOR, fallback to nvim).Markdown Support
The Notes pane renders markdown formatting:- Headings (
#,##,###) - Bold text (
**bold**) - Inline code (
`code`) - Lists (
-,*,1.) - Quotes (
>) - Links (
[text](url)) - Fenced code blocks (
```)
Uppercase Note Tags
Uppercase tags are highlighted with icons outside fenced code blocks:TODO- Todo iconFIXME- Fix iconWARNING:- Warning iconNOTE:- Note icon
For GUI editors like VSCode, use the
--wait flag to ensure LazyWorktree waits for the editor to close.Taskboard
PressT to open the Taskboard, a Kanban-lite view of markdown checkbox tasks grouped by worktree.
Taskboard View
The Taskboard displays only markdown checkbox items from notes:Taskboard Controls
| Key | Action |
|---|---|
j / k | Move between tasks |
Enter or Space | Toggle task completion |
a | Add a new task |
f | Filter tasks |
q / Esc | Close Taskboard |
Add New Task
Pressa in the Taskboard to add a new task:
Filter Tasks
Pressf to filter tasks by worktree name or task description:
Shared Note Storage
Configureworktree_notes_path to store all notes in a single JSON file for cross-system synchronisation:
- Note keys are repo/worktree-relative (not absolute paths)
- Easier to sync across machines (e.g., Dropbox, Git)
- Single file for all repositories
Without
worktree_notes_path, notes are stored per-repository in <repo>/.git/lazyworktree-notes.json.Automatic Note Generation
Configureworktree_note_script to automatically generate notes when creating worktrees from PRs/MRs or issues:
Environment Variables
LAZYWORKTREE_TYPE-prorissueLAZYWORKTREE_NUMBER- Issue/PR numberLAZYWORKTREE_TITLE- Issue/PR titleLAZYWORKTREE_URL- Issue/PR URL
Example Note Workflow
Auto-generated Note
If
worktree_note_script is configured, a note is created automatically with implementation context.Note Character Limit
Notes are limited to 4000 characters to prevent performance issues.Pane Visibility
The Notes pane (pane 5) is only visible when the selected worktree has a note.- Press
5to focus Notes pane (when visible) - Press
5again to toggle zoom (full screen) - Use
h/lto navigate left/right panes