[IPython-user] editor for code source...

Robert Kern robert.kern@gmail....
Thu Jul 16 17:25:37 CDT 2009

On 2009-07-16 17:14, fred wrote:
> Hi all,
> Is it possible, when I type
>   foo??
> to lauch my favorite editor (set in EDITOR env, for instance)
> rather than the less-like "editor"?

Set your PAGER environment variable. You can do this inside your 
ipy_user_conf.py, if you like:

     os.environ['PAGER'] = 'less -X -r'

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the IPython-user mailing list