Documentation/devtools/maemo5/vi
This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
Contents |
[edit] 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.
[edit] Packages
source: N/A
binary: N/A
[edit] 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
[edit] Links
[edit] See Also
- This page was last modified on 30 May 2011, at 13:57.
- This page has been accessed 8,566 times.