2011-10-29 18:10:42 -04:00
|
|
|
USING: editors.vim io.backend kernel namespaces system
|
|
|
|
vocabs.loader ;
|
2007-09-20 18:09:08 -04:00
|
|
|
IN: editors.gvim
|
|
|
|
|
2009-01-13 08:31:22 -05:00
|
|
|
! This code builds on the code in editors.vim; see there for
|
|
|
|
! more information.
|
|
|
|
|
2008-06-14 05:11:30 -04:00
|
|
|
SINGLETON: gvim
|
2011-10-29 18:10:42 -04:00
|
|
|
gvim vim-editor set-global
|
2007-09-20 18:09:08 -04:00
|
|
|
|
2011-10-29 18:10:42 -04:00
|
|
|
HOOK: find-gvim-path io-backend ( -- path )
|
|
|
|
M: object find-gvim-path f ;
|
2007-12-09 19:16:24 -05:00
|
|
|
|
2011-10-29 18:10:42 -04:00
|
|
|
M: gvim find-vim-path find-gvim-path "gvim" or ;
|
|
|
|
M: gvim vim-detached? t ;
|
2011-10-30 19:10:27 -04:00
|
|
|
M: gvim vim-ui? t ;
|
2007-12-09 19:16:24 -05:00
|
|
|
|
2011-10-30 19:10:27 -04:00
|
|
|
os windows? [ "editors.gvim.windows" require ] when
|