1 | initial version |
You can also run
%edit my_file.txt
which will use whatever you have $EDITOR
set to first, and then fall back on vi
otherwise.
2 | No.2 Revision |
You can also run
sage: %edit my_file.txt
which will use whatever you have $EDITOR
set to first, and then fall back on vi
otherwise.
3 | No.3 Revision |
You can also run
sage: %edit my_file.txt
%edit
which will use open whatever you have $EDITOR
set to first, and then fall back on vi
otherwise.
The file is then saved to a temporary file and run when you exit, unless you do %edit -x
(then it doesn't execute). While you're in your editor you can also write out to another file if you prefer.