--- title: "vi - Reference" slug: "vi-reference" updated: 2024-09-23T11:14:04Z published: 2024-09-23T11:14:04Z canonical: "docs.zpesystems.com/vi-reference" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zpesystems.com/llms.txt > Use this file to discover all available pages before exploring further. # vi - Reference 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 | | --- | --- | --- | | `vi <filename>` | - | To edit a file vi filename | | `ESC` | Edit Mode | Exit Edit Mode | | **Enter Edit Mode** | | `i` | Command Mode | Insert text (access Edit Mode) | | `I` | Command Mode | Insert text at beginning of line | | `a` | Command Mode | Append text after cursor | | `A` | Command Mode | Append text at end of line | | `o` | Command Mode | Append a new line beneath the current one | | `O` | Command Mode | Adds a new line above the current line | | **Quit** | | `:w` | Command Mode | Save | | `:wq` | Command Mode | Save and Exit | | `:q` | Command Mode | Exit | | `:q!` | Command Mode | Exit and dont Save | | **Navigation** | | `G` | Command Mode | Jump to last line of file | | `<line number> G` | Jump to line number of file | | | `I` | Command Mode | Jump to end of file | | `gg` | Command Mode | Jump to beginning of file | | `num` | Shows the current line number | | | **Display** | | `:set number` | Command Mode | Save | | `:set nonumber` | Command Mode | Save | | **Find** | | `/<text_to_find>` | Command Mode | Forwards lookup for a given string | | `?<text_to_find>` | Command Mode | Backwards lookup for a given string | | `n` | Command Mode | Proceeds to the next occurrence of the searched string |