I wonder what the best way is to decide whether or not some plugin should be loaded depending on some specific compilation/version of Vim. Any help would be appreciated.
Vim: if specific version, then don't load plugin
vim;plugin
If you want it to depend on the version, use this:if version > 700    do stuff for version 7 and upendifIf what you really want to know is whether a certain command works, you can use the exists statement:if exists('+breakindent')    set breakindentendifIf it's being in a GUI that you care about, try if has('gui_running') or put the commands into .gvimrc.