Navigation

Home

 

Web Essentials

 

About pico Commands

Pico commands are usually given using the control <CTRL> keys. The most common commands appear in a menu at the bottom of the screen during a pico session. The menus are context sensitive and will vary depending on what you are doing within pico.

Command Description
CTRL-G Display appropriate help text
CTRL-F or right-arrow Move Forward a character.
CTRL-B or left-arrow Move Backward a character.
CTRL-P or up arrow Move to the Previous line.
CTRL-N or down-arrow Move to the Next line.
CTRL-A Move to the beginning of the current line.
CTRL-E Move to the end of the current line.
CTRL-V Move forward a page of text (page down).
CTRL-Y Move backward a page of text (page up).
CTRL-W Search for text (where is), ignoring case.
CTRL-L Refresh the display (useful when someone writes you or you receive a system message while editing.
CTRL-D Delete the character at the cursor position.
CTRL-K Delete the entire line at the cursor position.
NOTE: Consecutive deletes append lines to a buffer which subsequent undeletes will write at the current position.
CTRL-U Undelete the last deleted line(s) at the current cursor position.
CTRL-I Insert a <TAB> at the current cursor position.
CTRL-J Format (justify) the current paragraph. Paragraphs are delimited by blank lines or indentation.
CTRL-T Invoke the spelling check. Possible incorrect words are shown in context.
CTRL-C Report the current cursor position (or about the current function).
CTRL-R Insert an external file at tthe current cursor position.
CTRL-O Output the current buffer (file), saving it.
CTRL-X Exit pico, saving buffer (file).