On Wednesday, June 13, 2012 12:40:47 AM UTC+8, kcrisman wrote:
>
>
>
> On Tuesday, June 12, 2012 12:06:11 PM UTC-4, Keshav Kini wrote:
>>
>> Chris Hall <[email protected]> writes: 
>> > The command line is great when I have a few quick commands, but I find 
>> it 
>> > painful for developing multi-line methods (i.e. 'coding'). 
>>
>> Do you know about %edit? Just type %edit on the command line, and it 
>> will open a temporary file in an editor where you can craft a method, 
>> class, or whatever. When you save the temporary file and quit the 
>> editor, Sage will load the file into the interpreter and then delete it. 
>> (This functionality is built into IPython.)
>
>
All these hidden functionalities should be exposed to the user IMHO. I knew 
of only %hide which could manipulate cell UI/behavior.

>
> Cool!  Unfortunately, it opens vim for me, probably some default I'd have 
> to set - nice, though. 
>

Probably your $EDITOR environment variable. 

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to