[PLUTO-ildp] Traduzione collaborativa Using Vi (concetti) ... :-)

Hugh Hartmann hhartmann a fastwebnet.it
Ven 15 Nov 2013 22:51:47 CET


un saluto "sereno"  si estende a tutti i partecipanti alla lista .. :-))

Riporto qui di seguito la prima sezione del testo Using Vi per la 
traduzione collaborativa .... :-)

[...]

1 Concepts.
While using vi, at any one time you are in one of three modes of 
operation. These modes are called command mode, insert mode, and last 
line mode.

When you start up vi, you are in command mode. This mode lets you use 
commands to edit files or change to other modes. For example, typing 
``x'' while in command mode deletes the character underneath the cursor. 
The arrow keys move the cursor around the file you're editing. 
Generally, the commands used in command mode are one or two characters 
long.

You actually insert or edit text within insert mode. When using vi, 
you'll probably spend most of your time in this mode. You start insert 
mode by using a command such as ``i'' (for ``insert'') from command 
mode. While in insert mode, you can insert text into the document at the 
current cursor location. To end insert mode and return to command mode, 
press Esc.

Last line mode is a special mode used to give certain extended commands 
to vi. While typing these commands, they appear on the last line of the 
screen (hence the name). For example, when you type ``:'' in command 
mode, you jump into last line mode and can use commands like ``wq'' (to 
write the file and quit vi), or ``q!'' (to quit vi without saving 
changes). Last line mode is generally used for vi commands that are 
longer than one character. In last line mode, you enter a single-line 
command and press Enter to execute it.

[...]


Au Revoire
Hugh Hartmann




Maggiori informazioni sulla lista pluto-ildp