Commands to Edit a File - Commands to Edit a File - 2026.1 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2026-06-23
Version
2026.1 English
The following are commands to edit and execute code in a file.
edit
Brings up the default editor to edit the file.
Vitis [1]: edit <filename>.py
Launch a specific editor as external command
Adds an exclamation mark prior to the editor executable to launch the editor as external commands.
Vitis [1]: !vim <filename>.py
Vitis [1]: !nano <filename>.py
Multi-line editing in the CLI
In the Vitis CLI, you can edit and update the multi-line code using arrow keys.