Documentation/devtools/maemo5/vi: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>amigadave |
imported>amigadave m →Links: wikify link |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Devtools}} | |||
== Description == | == Description == | ||
| Line 27: | Line 30: | ||
== Links == | == Links == | ||
[[:wikipedia:Vi|vi article at Wikipedia]] | |||
== See Also == | == See Also == | ||
| Line 33: | Line 36: | ||
[[Documentation/devtools/maemo5/nano|nano]] | [[Documentation/devtools/maemo5/nano|nano]] | ||
[[Category:Fremantle]] | [[Category:Fremantle]] | ||
Latest revision as of 13:57, 30 May 2011
| This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
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