TodoTxt
A comprehensive Sublime Text plugin for managing todo.txt files
Details
Installs
- Total 12
- Win 7
- Mac 2
- Linux 3
| Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
TodoTxt for Sublime Text
A comprehensive Sublime Text plugin for managing todo.txt files
Features
Task Management
- Add New Task - Create tasks with automatic creation date below cursor position
- Toggle Task Completion - Mark tasks as complete/incomplete with completion dates
- Priority Management
- Increase priority (move up from B to A, or add A if none)
- Decrease priority (move down from A to B, or remove at Z)
- Remove priorities from selected tasks
Organization
- Sort by Context - Group tasks by @context tags
- Sort by Project - Group tasks by +project tags
- Sort by Priority - Order by (A) through (Z) priority levels
- Sort by Due Date - Order by due:YYYY-MM-DD dates (earliest first)
- Sort by Creation Date - Order by task creation dates
- Sort by Status - Move completed tasks to bottom
Task Movement
- Archive Completed Tasks - Move completed tasks to done.txt
- Move to Someday - Defer tasks to someday.txt for future consideration
- Move to Waiting - Move tasks to waiting.txt for blocked/waiting items
- Move to Todo - Bring tasks back from someday.txt or waiting.txt to todo.txt
Quality of Life Improvements
- Due Date Highlighting - Color-coded due dates (red for past, orange for today, green for future)
- Note References - Hover over
note:filenameto preview note contents - Note Highlighting - Visual indication of existing vs missing note files
- Autocomplete - Context (@) and project (+) tag suggestions
Usage
Quick Start
- Create a new file named
todo.txt - Open the command palette (Ctrl+Shift+P) and type “TodoTxt: Add New Task”
- Use the command palette to access all TodoTxt commands (see Keyboard Shortcuts section to enable hotkeys)
Keyboard Shortcuts
The plugin includes suggested keyboard shortcuts that are commented out by default to avoid conflicts with other packages. To enable them:
- Open the command palette (Ctrl+Shift+P)
- Type “Preferences: TodoTxt Key Bindings”
- Uncomment the desired shortcuts in the left pane
- Or copy them to your user key bindings on the right pane
Suggested shortcuts:
- Ctrl+Shift+Space - Add new task
- Ctrl+Shift+X - Toggle task completion
- Ctrl+Shift+C - Increase priority
- Ctrl+Shift+Z - Decrease priority
Task Format
The plugin follows the todo.txt format specification:
(A) Task description- Task with priority2025-10-29 Task description- Task with creation datex 2025-10-29 Task description- Completed taskTask @context +project due:2025-12-31- Task with metadataTask note:notes/task-details.md- Task with linked note file
File Organization
The plugin supports multiple files in the same directory:
todo.txt- Active tasksdone.txt- Archived completed taskssomeday.txt- Future/deferred taskswaiting.txt- Blocked/waiting tasks
Commands
All commands are available through the command palette (Ctrl+Shift+P):
- TodoTxt: Add New Task - Opens input panel to create a new task with automatic creation date
- TodoTxt: Toggle Task Completion - Marks selected tasks as complete or incomplete with completion date
- TodoTxt: Increase Priority - Raises task priority (B→A) or adds (A) if no priority exists
- TodoTxt: Decrease Priority - Lowers task priority (A→B) or removes priority at (Z)
- TodoTxt: Remove Priorities - Removes priority markers from selected tasks
- TodoTxt: Sort by Context - Groups and sorts tasks by @context tags alphabetically
- TodoTxt: Sort by Project - Groups and sorts tasks by +project tags alphabetically
- TodoTxt: Sort by Priority - Orders tasks by priority level (A) through (Z), highest first
- TodoTxt: Sort by Due Date - Orders tasks by due date, earliest first, no date last
- TodoTxt: Sort by Creation Date - Orders tasks by creation date, earliest first
- TodoTxt: Sort by Status - Moves all completed tasks to the bottom of the file
- TodoTxt: Archive Completed Tasks - Moves completed tasks to done.txt and removes from current file
- TodoTxt: Move to Someday - Moves selected tasks to someday.txt for future consideration
- TodoTxt: Move to Waiting - Moves selected tasks to waiting.txt for blocked items
- TodoTxt: Move to Todo - Moves selected tasks from someday.txt or waiting.txt back to todo.txt
You can add custom keyboard shortcuts for any command by editing your Sublime Text key bindings. Use these command names:
todo_txt_add_new_tasktodo_txt_toggle_task_completiontodo_txt_increase_prioritytodo_txt_decrease_prioritytodo_txt_remove_prioritytodo_txt_sort_by_contexttodo_txt_sort_by_projecttodo_txt_sort_by_prioritytodo_txt_sort_by_due_datetodo_txt_sort_by_creation_datetodo_txt_sort_by_statustodo_txt_archive_completedtodo_txt_move_to_somedaytodo_txt_move_to_waitingtodo_txt_move_to_todo
License
MIT