1 USING: definitions editors help help.markup help.syntax
2 io io.files io.pathnames words ;
7 ARTICLE: "editors.vim" "Vim support"
8 "The " { $link vim-path } " variable contains the name of the vim executable. The default " { $link vim-path } " is " { $snippet "\"vim\"" } ". Which is not very useful, as it starts vim in the same terminal where you started factor."
10 { "If you want to use gvim instead or are on a Windows platform use " { $vocab-link "editors.gvim" } "." }
11 { "If you want to start vim in an extra terminal, use something like this:" { $code "{ \"urxvt\" \"-e\" \"vim\" } vim-path set-global" } "Replace " { $snippet "urxvt" } " by your terminal of choice." }
14 "You may also wish to install Vim support files to enable syntax hilighting and other features. These are in the " { $link resource-path } " in " { $snippet "misc/vim" } "."
15 { $see-also "editor" }