Skip to content

Command Mode

Dan Allison edited this page Nov 17, 2017 · 10 revisions

To enter command mode, the default keyboard shortcut is ctrl + enter. You can also enter command mode by double clicking on an item. You can exit command mode by pressing esc or clicking outside of the current item. Many commands accept arguments, which are computed expressions. Computed expressions that begin with an alphanumeric character should be wrapped in parentheses. For example, the following command adds an item with the text "time [=] 0" to each item in $items that does not already contain an item named "time".

for each ( filter($items, not(item("time"))) ), add item "time [=] 0"

The Commands

Creating, Sharing, and Deleting Lists

  • new list "list title"
  • share list with "username"
  • stop sharing list
  • stop sharing list with "username"
  • permanently delete list "list title"

Import

  • import from csv
  • import from txt
  • import from json

Export

  • copy
  • download as csv
  • download as txt
  • download backup

Navigation (also see Navigating)

  • goto
  • goto list
  • go home
  • down
  • up
  • zoom in
  • zoom out

Expand and Collapse

  • expand
  • expand all
  • expand siblings
  • expand items recursively
  • collapse
  • collapse all
  • collapse siblings
  • collapse items recursively
  • toggle collapse
  • toggle collapse siblings

Moving Items

  • indent
  • outdent
  • indent siblings
  • outdent items
  • outdent straight
  • slide out
  • move up
  • move down
  • move to list

Sorting and Grouping

  • sort items
  • sort items by
  • group items by
  • ungroup
  • ungroup items
  • pivot items
  • shuffle items
  • reverse items

Text Manipulation

  • add text
  • add prefix
  • remove text
  • replace text
  • change text of
  • change text

Creating Items

  • new item
  • add item
  • add items
  • duplicate
  • split to list

Deleting Items

  • delete
  • delete items

Command Loops

  • for each item,
  • for each item recursively,
  • for each ( computed_array_of_items ),

Meta Commands

  • enter command mode
  • exit command mode
  • toggle command mode
  • execute previous command

Customizing the Interface

  • change theme
  • change font
  • hide header
  • show header

Other

  • log
  • noop
  • freeze computed value
  • undo
  • redo
  • template
  • make template
  • pause computation/unpause computation