factor/basis/editors/macvim/macvim.factor

14 lines
272 B
Factor
Raw Normal View History

2008-09-11 21:15:48 -04:00
USING: definitions io.launcher kernel math math.parser parser
namespaces prettyprint editors make ;
IN: editors.macvim
: macvim-location ( file line -- )
drop
[ "open" , "-a" , "MacVim", , ] { } make
try-process ;
[ macvim-location ] edit-hook set-global