factor/basis/editors/gvim/windows/windows.factor

10 lines
275 B
Factor
Raw Normal View History

2008-09-01 13:00:14 -04:00
USING: editors.gvim io.files io.windows kernel namespaces
sequences windows.shell32 io.paths system ;
IN: editors.gvim.windows
M: windows gvim-path
\ gvim-path get-global [
program-files "vim" append-path
t [ "gvim.exe" tail? ] find-file
] unless* ;