1 USING: editors.vim io.backend io.standard-paths kernel
2 namespaces system vocabs editors ;
5 ! This code builds on the code in editors.vim; see there for
10 editor-class [ T{ gvim } ] initialize
12 HOOK: find-gvim-path io-backend ( -- path )
14 M: object find-gvim-path f ;
16 M: windows find-gvim-path
17 { "vim" } "gvim.exe" find-in-applications ;
20 find-gvim-path [ "gvim" ?find-in-path ] unless* ;
24 M: gvim editor-detached? t ;