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.