Terminal menus
Terminal menus
tui/samu-tui puts fzf menus over the
command line: the views, a task list with a preview, and keys for
the common edits. Everything goes through samu.
Needs samu signed in, fzf 0.53 or later, jq and bash. make install
links it into the bin directory. The editor for notes is $VISUAL, else
$EDITOR, else vim.
samu-tui # the main menu: available, today, inbox,
# flagged, projects, by tag, search
samu-tui list --available # the task list directly; options as for samu list
samu-tui list --inbox
samu-tui --helpKeys in the task list
| Key | |
|---|---|
| Enter | the menu of the task: comments, attachments, reminders, logbook, delete, … |
| Tab | select several |
| Ctrl-X / Alt-X | complete / drop (the selected tasks) |
| Ctrl-N / Ctrl-S | next state / pick a state |
| Ctrl-F | flag on/off |
| Ctrl-T | add tags (a new one when none matches) |
| Ctrl-E | title |
| Ctrl-O | note in the editor |
| Ctrl-D | due date |
| Ctrl-P | move to a project |
| Ctrl-A | new task with quick capture |
| Ctrl-R | reload |
? | preview on/off |
| Escape | back |
Helper script
The lists and edits come from pult/samu-pult, a small shell script that
prints tab-separated lists from samu and runs actions. It also serves a
menu for pult, a keyboard overlay for Wayland that is a separate project;
pult/samu.edn is that menu. Set SAMU_PULT if the script lives
elsewhere.