Documentation/devtools/maemo5/vi

(New page: == Description == The vi (visual) utility is a powerful text file editor that can be accessed from the command line terminal. It is installed to the device by default. == Packages == ''...)
Line 32: Line 32:
[[Documentation/devtools/maemo5/nano|nano]]
[[Documentation/devtools/maemo5/nano|nano]]
 +
 +
[[Category:Devtools]]
 +
[[Category:Fremantle]]

Revision as of 11:49, 12 February 2010

Contents

Description

The vi (visual) utility is a powerful text file editor that can be accessed from the command line terminal. It is installed to the device by default.

Packages

source: N/A

binary: N/A

Usage Examples

Open up a file for viewing and editing:

# vi myfile.txt

Exit from vi: type ESC:q!, that's ESC, colon, q and an exclamation mark.

Edit the opened file: press 'i'. In this mode you are able to make changes to the file.

To save changes type: ESC:w, that's ESC, colon, w.

To save changes and quit: ESC:wq

Links

http://en.wikipedia.org/wiki/Vi

See Also

nano