如何摆脱每次打开 vim 时出现的烦人的错误消息?:
snipMate.vim 中的警告:片段 c) 已定义。有关具有多个匹配项的片段的帮助,请参阅 :h multi_snip。
我试图通过安装 snipmate
% cd ~/.vim/bundle
% git clone https://github.com/tomtom/tlib_vim.git
% git clone https://github.com/MarcWeber/vim-addon-mw-utils.git
% git clone https://github.com/garbas/vim-snipmate.git
% git clone https://github.com/honza/vim-snippets.git
但是,snipmate 没有工作,所以我删除了这些目录(包括其中的所有文件)
rm -rf {directories}
然后在谷歌找到我一个不同的站点如何安装之后尝试使用不同的来源再次安装它,认为它很好......
cd ~/.vim
mv snippets snippets.orig
git clone git://github.com/scrooloose/snipmate-snippets.git snippets
我想我必须卸载旧文件,但我不知道如何。我试图:h multi_snip
在 vim 中打开,但没有任何反应。