mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 11:58:15 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/pico
Normal file
41
tldr/pico
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user