Document global search in README

This commit is contained in:
SW 2026-06-17 18:41:06 +02:00
parent cbce822e8c
commit c9a33e8bd1

View file

@ -68,6 +68,7 @@ The default terminal is `Terminal` (macOS Terminal.app). The default shell is de
| `↑/↓` or `j/k` | move | | `↑/↓` or `j/k` | move |
| `←/→` or `h/l` | switch panel | | `←/→` or `h/l` | switch panel |
| `Enter` | run selected command / all commands in the current terminal | | `Enter` | run selected command / all commands in the current terminal |
| `/` | open global search across all commands |
| `o` | open selected command / all commands in a new terminal window | | `o` | open selected command / all commands in a new terminal window |
| `c` | open custom command mode for the current file | | `c` | open custom command mode for the current file |
| `e` | open current `.md` file in `$EDITOR` | | `e` | open current `.md` file in `$EDITOR` |
@ -104,6 +105,10 @@ Use `{}` as a placeholder if your lines are just addresses:
ssh {} lsblk ssh {} lsblk
``` ```
## Global search
Press `/` to search across all commands, files, groups, and section names. Type your query, use `↑/↓` to select a result, and press `Enter` to run it.
## History ## History
Every command run through `lines` is appended to `~/.lines/history.log`: Every command run through `lines` is appended to `~/.lines/history.log`: