Your first 10 minutes in the TUI
Your first 10 minutes in the TUI
Goal: write a journal entry, link two pages, check off a task, find a note again, and undo a mistake. You will use about twenty keys. Every step says what you should see, so you can tell it worked.
You need outl installed (Getting started) and a terminal at least 80 columns wide.
1. Open a workspace
mkdir ~/notes && cd ~/notes
outl
outl does not find a workspace in an empty folder, so it asks Initialize a new workspace here? [y/N].
Type y and press Enter.
You land on today’s journal.
You should see a header with Journal · <today's date>, one empty bullet, and a footer that starts with a NORMAL badge.
Normal mode is where you move and give commands. Nothing you type appears as text yet. That is the vim part, and the only part you have to unlearn.
If
outlopens a different folder than the one you are in, a workspace is saved in your config as the last one used. Runoutl --workspace ~/notesto be explicit. The lookup order is in TUI manual → Start it.
2. Write something
- Press
i. The badge changes toINSERT. - Type
call the dentistand pressEnter. A new block opens below. - Type
read the paper on tree CRDTs. - Press
Esc. The badge goes back toNORMAL.
Esc is what saves your text into the page.
The footer shows saved a moment later, and the header chip counts up from just now.
To add a block without entering a block first, use o (below the cursor) or O (above).
3. Make it a task and check it off
Move to the first block with k (up) and j (down).
Press Ctrl+T.
The block gets a ☐ checkbox, and the header shows 0/1 tasks.
Press Ctrl+T again for ◐ (doing), and once more for ☑ (done).
A fourth press clears it.
To jump straight to done, press g then D.
4. Nest and fold
- Put the cursor on
read the paper on tree CRDTs. - Press
oand typeKleppmann 2022, thenEsc. - Press
Tab. The block moves under its parent.Shift+Tabbrings it back. - Move to the parent and press
c. The child hides and the bullet shows▶. Presscagain to open it.
5. Link to another page
- Press
Ato start typing at the end of the parent block. - Type
see [[(a space, then two opening brackets). outl adds the closing]]for you, and a popup lists your pages. - Type
CRDT notes. There is no such page yet, so the popup may be empty, and that is fine. Do not type]]: it is already there, and typing it again adds a second pair. - Press
Esc. - Make sure the cursor is on the link (
handlmove it), then pressEnter.
Enter on a link opens the page, and it creates it when it does not exist.
The footer says created page "CRDT notes".
You are now on a new page with one empty bullet.
Press i, write a line, press Esc.
There is no “back” key.
Press t to return to today’s journal, or Ctrl+P to pick any page.
6. See who links here
Press Ctrl+P, type crdt and press Enter.
You are on CRDT notes.
Under the outline you should see Backlinks · 1 ref(s) and the block from your journal that linked here.
The panel is on by default.
Ctrl+B hides it.
Press i on the backlink row to edit that block from here.
Esc to finish.
7. Find a note
Press /, type search, press Enter.
Type a few letters of something you wrote, such as dent.
Matching blocks appear with their page names.
↓ to choose, Enter to jump.
Afterwards n and N walk through the other matches.
Closer than a search: put the cursor on a word and press * to search the whole workspace for it.
8. Undo, and the safety net
- Press
dtwice (d d) on a block. It is deleted. - Press
u. It is back.
u only remembers this session, per page.
For anything older, or a block deleted from another device, type :trash and press Enter.
Move to the row with j and press r to restore it.
9. Copy and paste
Put the cursor on a block with children and press y twice (y y).
The footer says yanked 1 block → clipboard.
The child blocks travel with their parent.
Open any other app and paste: you get a clean bullet list.
Back in outl, move somewhere else and press p.
The copied blocks land after the selected one, hierarchy intact.
10. Where to go from here
| Press | To |
|---|---|
? | Open the help popup, with tabs for each mode |
/ | See every command with its description |
g p | Edit a block’s properties (due::, type::, anything) without remembering key names |
g r | Add a reminder to a block |
V then j | Select several blocks, then Tab, d or y acts on all of them |
Ctrl+E | Open the sidebar with a calendar, pinned and recent pages |
q q | Quit |
Next:
- TUI manual for every key and screen.
- TUI commands for the
/and:list, including the date inserters (/date +3d). - TUI troubleshooting if something behaves oddly.
- Your first week with outl for the ideas behind tags, journals and links.