diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-28 14:24:41 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-28 14:24:41 +0300 |
| commit | 91b4dd563092c4dc08cdc2d2f1714912cd3eaf14 (patch) | |
| tree | 41d56d7a098d2938b23c1665b9305ab36d86bf68 /internal/ui/table.go | |
| parent | 57e433ade2e450ebaab1efeef34bd0f02823f2e9 (diff) | |
feat: add 'T' hotkey to convert first tag to project
Implement a new 'T' hotkey that automatically converts the first tag
of a task into its project field. This provides a quick workflow for
users who initially tag tasks and later want to organize them into
projects.
The operation:
- Takes the first tag from the selected task
- Sets it as the task's project
- Removes the tag from the task's tag list
This is useful for migrating from tag-based organization to
project-based organization in Taskwarrior.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/ui/table.go')
| -rw-r--r-- | internal/ui/table.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index 9def986..8366b57 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -707,6 +707,7 @@ func (m Model) buildHelpContent() string { m.formatHelpLine("R", "edit recurrence", keyStyle, descStyle), m.formatHelpLine("t", "edit tags", keyStyle, descStyle), m.formatHelpLine("J", "edit project", keyStyle, descStyle), + m.formatHelpLine("T", "convert first tag to project", keyStyle, descStyle), m.formatHelpLine("a, A", "add/replace annotations", keyStyle, descStyle), m.formatHelpLine("o", "open URL from description", keyStyle, descStyle), "") |
