How to set up editor path in sage? -
i've searched everywhere , couldn't find answer.
i have read in sage tutorial:
you can use %edit (or %ed or ed) open editor, if want type in complex code. before start sage, make sure editor environment variable set favorite editor (by putting export editor=/usr/bin/emacs or export editor=/usr/bin/vim or similar in appropriate place, .profile file).
i'm not familiar linux. appropriate place be? didn't find .profile file in sage folder.
thanks.
edit: i'm using ubuntu 10.04 if of help.
please try find file .bash_profile or .profile in home directory
Comments
Post a Comment