- 23 Sep 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
vi - Reference
- Updated on 23 Sep 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
vi is the default text editor on all Nodegrid appliances. The following table provides an overview of the most commonly used commands with the vi editor.
Command | Mode | Description |
---|---|---|
| - | To edit a file vi filename |
| Edit Mode | Exit Edit Mode |
Enter Edit Mode | ||
| Command Mode | Insert text (access Edit Mode) |
| Command Mode | Insert text at beginning of line |
| Command Mode | Append text after cursor |
| Command Mode | Append text at end of line |
| Command Mode | Append a new line beneath the current one |
| Command Mode | Adds a new line above the current line |
Quit | ||
| Command Mode | Save |
| Command Mode | Save and Exit |
| Command Mode | Exit |
| Command Mode | Exit and dont Save |
Navigation | ||
| Command Mode | Jump to last line of file |
| Jump to line number of file | |
| Command Mode | Jump to end of file |
| Command Mode | Jump to beginning of file |
| Shows the current line number | |
Display | ||
| Command Mode | Save |
| Command Mode | Save |
Find | ||
| Command Mode | Forwards lookup for a given string |
| Command Mode | Backwards lookup for a given string |
| Command Mode | Proceeds to the next occurrence of the searched string |