Excerpts from stosss's message of Wed Apr 14 00:50:12 +0200 2010: > These two directories are a little confusing. > > ./vim/ftplugin - is for plugins that tell Vim how to deal with a > file's format. How does that differ with the syntax directory?
If you look at them they have much in common: Both are loaded if you set the filetype (example :set filetype=xml) There are two different files for syntax and ftp so that you can load both featuers independently. Eg you may use the runtime command or source those files. Or you can use ftplugin on syntax off to load ftplugin/filetype.vim files only, but not the syntax directory > ./vim/plugin - is for plugins to expand Vims functionality. This code doesn't differ much from your ~/.vimrc. Both are loaded on startup. Everything which you would put into ~/.vimrc and gets longer and longer can be moved into a plugin/custom-name.vim file. That's what most plugins are doing. Marc Weber -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe, reply using "remove me" as the subject.
