1

How can I get rid of this annoying error message occuring everytime I open vim?:

Warning in snipMate.vim: Snippet c) is already defined. See :h multi_snip for help on snippets with multiple matches.

I tried to install snipmate by

 % 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

However, snipmate did not work, so I deleted these directories(including all files in it) with

rm -rf {directories} 

then tried to install it again using a different source after Google found me a different site how to install, thinking it's fine...

cd ~/.vim
mv snippets snippets.orig
git clone git://github.com/scrooloose/snipmate-snippets.git snippets

I think I have to uninstall the old files, but I dont know how. I tried to open :h multi_snip in vim but nothing happens.

elm
  • 20,117
  • 14
  • 67
  • 113
kofi
  • 361
  • 1
  • 5
  • 13
  • What do you mean by "I think"? You don't know what plugins you use and whhich does what? – romainl Aug 11 '14 at 06:36
  • I did use pathogen. Sorry – kofi Aug 11 '14 at 10:38
  • How do you know that snipmate didn't work after the first installation? What were the tests that you performed to see if it was working? – Zach Aug 11 '14 at 18:33
  • The tab key does not work – kofi Aug 11 '14 at 20:48
  • possible duplicate of [How do you uninstall deleted files installed by git clone command?](http://stackoverflow.com/questions/25253573/how-do-you-uninstall-deleted-files-installed-by-git-clone-command) – jub0bs Aug 12 '14 at 01:13

2 Answers2

0

You have to update the vim plugins and mainly you have to clean the folder.

If you are using Vundle to manage plugins you can run this command to remove duplicates, unused plugins etc:

vim +BundleClean +qall
TheodorosPloumis
  • 2,396
  • 1
  • 17
  • 31
0

What you need to do is simple, add the following line to your .vimrc

    let g:snipMate = { 'snippet_version' : 1 }

This will use the new parser in SnipMate.

This is now in the notice for :h SnipMate-deprecate.

Shadoath
  • 720
  • 1
  • 15
  • 31