Lightweight ergonomic interactive command line task editor
npm install ted-editorTed is the standard task editor :P
Lightweight ergonomic interactive command line task list editor
ed for tasks
For the people who appreciate the simplicity of traditional TODO
files but who also has a lot of tasks and wish they were easily
taggable sortable filterable without requiring a bloated issue
tracker.
Read on to see what's different from existing command line task
managers.
ted ..
- is an editor that works on a given directory. It has no implicit
project database.
- supports tag based categorization & filtering and priority based
ordering.
- has no configuration, no command line flags and has only around
10 commands. You can get comfortable with the whole feature set
in 15 minutes.
- stores tasks as regular files in the task directory being
edited. The directory and file structures are very simple and
VCS-friendly. Diffs will be straightforward if you track your
changes.
- is interactive. Commands are sent from inside the ted shell.
You don't have to repeat the ted command every time. There is
no non-interactive mode as ted is intended to be used directly
by its end power-users all the time and not by scripts.
- is intentionally stateful. It remembers the filter, order and
limit you set so you don't type them again and again.
- is all about intuitive single letter commands: c(reate), e(dit),
... You need A LOT less keystrokes to accomplish things compared
to many other command line task managers.
- is not tightly coupled to any version control or synchronization
system.
- is similar to the venerable UNIX editor ed (which is THE
standard editor) in some ways.
Things that are intentionally not supported and suggested
alternatives:
- Attribution & synchronization: Use a VCS
- Assignments: Use tags like @john, @jack
- Statuses: Use tags like !doing, !rejected, !blocked
- Attachments: Link to files on the cloud
- Discussions, mentions, merge requests: Use email lists, email,
patches over email. I mean, what was wrong with email?
- Reporting and fancy charts: Use your UNIX-fu to parse the
indexes and pipe them to GGPlot or something. Or maybe switch to
Taskwarrior if you really need this.
- Written in Javascript. An implementation in a compiled language
would probably be better. Any volunteers for porting?
- Not written with performance in mind, for now. Especially the
indexing mechanism is very inefficient. That'll be addressed
sooner or later.
npm install -g ted-editor
ted myissues
Display:
t Show tag list
f Show current filter
o Show current order
l Show current limit
Filter order limit:
f &
f |
f /
F Reset filter
o
O Reset order
l
L Reset limit
Manipulate task:
c Create new task with system editor
c
e
t
p
a
A
d
Other:
a Switch to the archives
A Switch back from the archives
h Help
q Quit
reindex Update the internal index. Trigger after external updates
title
priority tag1 tag2 tag3 ...
all lines starting with this one are considered the task
description.
lorem ipsum dolor sit amet consectetuer adipisicing elit
another paragraph w;elkr lk asdfasdkjf asdoiufh asdjf
asdk faspdfi japdsiofh peiurhqewfk adslfhaspdoifh oadsf
- john
- paul
- george
- ringo
{
"1":{"title":"lorem ipsum","pri":"5","tags":["test"]},
"2":{"title":"dolor sit amet","pri":"9","tags":[]},
...
}