-
Notifications
You must be signed in to change notification settings - Fork 0
Macros
Wylie Standage-Beier edited this page Dec 8, 2025
·
1 revision
Record and replay sequences of actions.
Macros let you record a sequence of keystrokes and replay them later. Useful for repetitive tasks.
- Press
Ctrl+rto start recording - Perform your actions
- Press
Ctrl+ragain to stop
The status bar shows [REC] while recording.
Press Ctrl+m to replay the last recorded macro.
While recording:
┌────────────────────────────────────────────────────────────┐
│ TaskFlow [REC] 12 keys │
├────────────────────────────────────────────────────────────┤
│ ... │
└────────────────────────────────────────────────────────────┘
Record a macro to set high priority and move to next task:
-
Ctrl+r(start recording) -
p(cycle to high priority) -
j(move down) -
Ctrl+r(stop recording)
Now Ctrl+m repeats this for each task.
-
Ctrl+r(start) -
T(edit tags) - Type
important -
Enter(confirm) -
j(next task) -
Ctrl+r(stop)
Press Ctrl+m to tag each subsequent task.
-
Ctrl+r(start) -
n(new task) - Type
Weekly review #work !high due:friday -
Enter(create) -
Ctrl+r(stop)
Replay to quickly create the same task pattern.
- Key presses
- Navigation commands
- Task operations
- Mouse actions
- Time delays
- External events
Macros are stored in memory only. They're lost when you quit TaskFlow.
For persistent macros, create shell aliases:
# In ~/.bashrc or ~/.zshrc
alias tf-weekly='echo "Weekly review #work" | taskflow --quick-add'- Plan before recording - Know your keystrokes
- Keep macros short - Easier to debug
- Test immediately - Verify it works
- Use for repetition - Best for 5+ similar actions
p p p (to high) → D → today → Enter
m → (select project) → Enter → j
x → j
T → work,urgent → Enter → j
| Key | Action |
|---|---|
Ctrl+r |
Start/Stop recording |
Ctrl+m |
Play macro |
- Re-record with correct starting position
- Check you're in the right mode/view
- Verify selection state
- Macros only persist during session
- Re-record after restart
- Ensure not in edit mode
- Press Escape first to clear state
- Keybindings - All keyboard shortcuts
- Task-Management - Task operations
- Quick-Start - Basic usage