2007-12-09 19:16:24 -05:00
|
|
|
USING: io.backend io.files kernel math math.parser
|
2008-01-13 12:58:29 -05:00
|
|
|
namespaces sequences system combinators
|
2008-09-01 13:00:14 -04:00
|
|
|
editors.vim vocabs.loader ;
|
2007-09-20 18:09:08 -04:00
|
|
|
IN: editors.gvim
|
|
|
|
|
2008-06-14 05:11:30 -04:00
|
|
|
SINGLETON: gvim
|
2007-09-20 18:09:08 -04:00
|
|
|
|
2008-09-01 13:00:14 -04:00
|
|
|
HOOK: gvim-path io-backend ( -- path )
|
|
|
|
|
2007-09-20 18:09:08 -04:00
|
|
|
M: gvim vim-command ( file line -- string )
|
2008-06-14 05:11:30 -04:00
|
|
|
[ gvim-path , swap , "+" swap number>string append , ] { } make ;
|
2007-12-09 19:16:24 -05:00
|
|
|
|
2008-06-14 05:11:30 -04:00
|
|
|
gvim vim-editor set-global
|
2007-12-09 19:16:24 -05:00
|
|
|
|
2007-12-28 21:46:06 -05:00
|
|
|
{
|
2008-04-02 19:25:33 -04:00
|
|
|
{ [ os unix? ] [ "editors.gvim.unix" ] }
|
|
|
|
{ [ os windows? ] [ "editors.gvim.windows" ] }
|
2007-12-28 21:46:06 -05:00
|
|
|
} cond require
|