]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/editors/macvim/macvim.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / editors / macvim / macvim.factor
old mode 100755 (executable)
new mode 100644 (file)
index b5f864d..6dcf724
@@ -1,13 +1,10 @@
 USING: definitions io.launcher kernel math math.parser parser
 namespaces prettyprint editors make ;
-
 IN: editors.macvim
 
-: macvim-location ( file line -- )
+: macvim ( file line -- )
     drop
     [ "open" , "-a" , "MacVim", , ] { } make
-    try-process ;
-
-[ macvim-location ] edit-hook set-global
-
+    run-detached drop ;
 
+[ macvim ] edit-hook set-global