]> gitweb.factorcode.org Git - factor.git/blob - basis/editors/vim/vim-docs.factor
67a916e5e25e0a8f86b291102a7f6bd124127faf
[factor.git] / basis / editors / vim / vim-docs.factor
1 USING: definitions editors help help.markup help.syntax
2 io io.files io.pathnames words ;
3 IN: editors.vim
4
5 ABOUT: "editors.vim"
6
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."
9 { $list
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." }
12 }
13 $nl
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" }
16 ;