I changed the EDITOR environment variable in my profile, and now IJulia
returns
ENV["EDITOR"]
"gvim"
However this does not seem to affect the @edit macro, which still tries to
call Vim and complains about not being in a terminal window.
//A
On Wednesday, October 1, 2014 3:00:27 PM UTC+2, Isaiah wrote:
>
> try changing your EDITOR variable to something that starts own window /
> can run outside of terminal.
> On Sep 29, 2014 6:08 PM, "Andrei Berceanu" <[email protected]
> <javascript:>> wrote:
>
>> Is there a way to open an external text editor (say gvim) from within
>> IJulia? More specifically, I would like to be able to edit the definition
>> of a function. In the REPL I can use @edit fun() and this opens the module
>> where fun() is defined at the specific line. However in IJulia I get
>>
>>
>> @edit fun()
>> Vim: Warning: Output is not to a terminal
>> Vim: Warning: Input is not from a terminal
>>
>>
>> Thanks!
>> //A
>>
>>
>>