[IPython-dev] ipy_editor.py: textmate function

Matt Foster matt.p.foster@gmail....
Tue Nov 25 16:44:16 CST 2008


Hi,

You can add TextMate support to ipy_editor.py like this (-w means wait):

def mate(exe = 'mate'):
    """ TextMate, the missing editor"""
    install_editor(exe + '-w -l $line "$file"')

I've attached a patch.

Cheers,

Matt

-- 
Matt Foster | http://hackerific.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipy_editor_mate.diff
Type: application/octet-stream
Size: 440 bytes
Desc: not available
Url : http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20081125/9aff5f66/attachment.obj 


More information about the IPython-dev mailing list