Commands to Edit a File - 2024.2 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2025-01-15
Version
2024.2 English
Following are the commands to edit and execute code in file:
edit
Used to bring up the default editor to edit the file.
Vitis [1]: edit <filename>.py
Launch a specific editor as external command
Add 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 new Vitis CLI, you can edit and update the multi-line code using arrow keys.