我在我的笔记本电脑(OS )和几个服务器(Solaris和Linux)上使用我的.vimrc文件,假设有一天可以在Windows机器上使用它。我知道如何检测unix和windows,但我如何检测OS?(就此而言,有没有一种方法可以区分Linux和Solaris,等等。还有,有没有一个'has‘可以接受的所有字符串的列表?我的没有找到任何东西。)mate %<CR> " do stuff under linux and "
elseif h
我有几个使用Vim的系统,其中一个系统无法查看/编辑压缩文件。我相信我有正确的插件,因为我的Vim 7.0的另一个系统可以与相同的插件正常工作。.***error*** (zip#Browse) unzip not available on your system$ uname -srmoVIM - Vi IMproved 7.2 (2008 Au