问题
I heard about the awesomeness of vim
, so naturally I said "vim me up". After, countless Youtube videos and Googling for hours, I was ready to install my pluggins ( so I thought). I was able to install NERDTree
thru Pathogen
and I was feeling good about myself since I'm new to Mac(OSX 10.9)
and coding in general. So, I then proceeded to install the next pluggin Snipmate
using instructions from https://github.com/garbas/vim-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 did not work. So, I deleted these directories by rm -rf {directories} then tried to install it again using instructions from http://spf13.com/post/vim-plugins-snipmate this time
cd ~/.vim
mv snippets snippets.orig
git clone git://github.com/scrooloose/snipmate-snippets.git snippets
Maybe I shouldn't have done since I now have these errors everytime I open vim.
Warning in snipMate.vim: Snippet c) is already defined. See :h multi_snip for help on snippets with multiple matches. Warning in snipMate.vim: Snippet date is already defined. See :h multi_snip for help on snippets with multiple matches. Warning in snipMate.vim: Snippet ddate is already defined. See :h multi_snip for help on snippets with multiple matches.
Do you think if I could uninstall those files, that I had deleted, would it rid of these errors and maybe snipmate would work? How do you uninstall git clone command? Am I right in thinking these?
回答1:
That's because you still have the snippets defined in "snippets.orig". If you delete the folder (or if you want to keep it move it to a directory outside of .vim) and you should be fine.
来源:https://stackoverflow.com/questions/25253573/how-do-you-uninstall-deleted-files-installed-by-git-clone-command