USING: io.backend io.files kernel math math.parser namespaces sequences system combinators editors.vim vocabs.loader make ; IN: editors.gvim SINGLETON: gvim HOOK: gvim-path io-backend ( -- path ) M: gvim vim-command ( file line -- string ) [ gvim-path , swap , "+" swap number>string append , ] { } make ; gvim vim-editor set-global { { [ os unix? ] [ "editors.gvim.unix" ] } { [ os windows? ] [ "editors.gvim.windows" ] } } cond require