! This code builds on the code in editors.vim; see there for
! more information.
-TUPLE: gvim < vim ;
+SINGLETON: gvim
-editor-class [ T{ gvim } ] initialize
+INSTANCE: gvim vim-base
+
+editor-class get-global dup [ vim? not ] when
+[ gvim editor-class set-global ] unless
HOOK: find-gvim-path io-backend ( -- path )