[IPython-dev] ipy_editor.py: textmate function
Matt Foster
matt.p.foster at gmail.com
Tue Nov 25 17:44:16 EST 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: 441 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20081125/9aff5f66/attachment.obj>
More information about the IPython-dev
mailing list