From 0ca83b9545ed559aaca6299968dc8abdc7f39970 Mon Sep 17 00:00:00 2001 From: Kristopher Date: Thu, 26 Jun 2025 09:12:07 -0700 Subject: [PATCH] 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 --- pages/common/pico.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/pico.md diff --git a/pages/common/pico.md b/pages/common/pico.md new file mode 100644 index 0000000000..2393dd0d47 --- /dev/null +++ b/pages/common/pico.md @@ -0,0 +1,36 @@ +# pico + +> Text editor styled after the Alpine Composer. +> More information: . + +- 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`