1 USING: definitions io io.launcher kernel math math.parser
2 namespaces parser prettyprint sequences editors accessors
8 HOOK: vim-command vim-editor ( file line -- array )
14 vim-path get dup string? [ , ] [ % ] if
15 [ , ] [ number>string "+" prepend , ] bi*
18 : vim ( file line -- )
19 vim-command run-detached drop ;
21 "vim" vim-path set-global
22 [ vim ] edit-hook set-global
23 \ vim vim-editor set-global