factor/extra/editors/gvim/windows/windows.factor

10 lines
273 B
Factor
Raw Normal View History

2008-01-29 12:41:12 -05:00
USING: editors.gvim.backend io.files io.windows kernel namespaces
sequences windows.shell32 io.paths ;
IN: editors.gvim.windows
M: windows-io gvim-path
\ gvim-path get-global [
2008-02-12 13:00:56 -05:00
program-files "vim" path+
t [ "gvim.exe" tail? ] find-file
] unless* ;