1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 17:15:23 +02:00

pico: add page (#16940)

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
This commit is contained in:
Kristopher 2025-06-26 09:12:07 -07:00 committed by GitHub
parent 117edf2238
commit 0ca83b9545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages/common/pico.md Normal file
View file

@ -0,0 +1,36 @@
# pico
> Text editor styled after the Alpine Composer.
> More information: <https://manned.org/pico>.
- Start the editor:
`pico {{path/to/file}}`
- Start the editor with the cursor located n lines into the file:
`pico +{{n}} {{path/to/file}}`
- Start the editor with the cursor shown before the current selection:
`pico -g {{path/to/file}}`
- Define the quote string for files such as email:
`pico -Q "{{quotestring}}" {{path/to/file}}`
- Enable mouse functionality when run within an `xterm` window:
`pico -m {{path/to/file}}`
- Set the operating directory for `pico`:
`pico -o {{path/to/directory}}`
- Enable "view only" mode, which disallows any edits:
`pico -v {{path/to/file}}`
- Displays all files including those beginning with a period:
`pico -a`