Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded form The install instruction says that:

  • unzip it and paste it in .vim directory.
  • There should be :filetype plugin on in .vimrc file

I have did both but non of the snippets are working. This is the first time I'm installing any plugin.

share|improve this question
It's not clear to me how you installed it. You wrote you unzipped it and pasted it in your .vim directory. SnipMate.vim contains several files in seven directories. Are you sure you got all the files in the right directories? It's usually best to move a file such as into your ~/.vim directory first and unzip it there. – garyjohn Jul 13 '12 at 5:45
up vote 1 down vote accepted

Did you put the snipMate directory that you get after unzipping directly inside ~/.vim? Like that: ~/.vim/snipMate?

It's its content that you have to put into ~/.vim:

├── after
│   └── plugin
│       └── snipMate.vim
├── autoload
│   └── snipMate.vim
├── doc
│   └── snipMate.txt
├── ftplugin
│   └── html_snip_helper.vim
├── plugin
│   └── snipMate.vim
├── snippets
│   ├── autoit.snippets
│   ├── cpp.snippets
│   ├── c.snippets
│   ├── html.snippets
│   ├── javascript.snippets
│   ├── java.snippets
│   ├── mako.snippets
│   ├── objc.snippets
│   ├── perl.snippets
│   ├── php.snippets
│   ├── python.snippets
│   ├── ruby.snippets
│   ├── sh.snippets
│   ├── _.snippets
│   ├── snippet.snippets
│   ├── tcl.snippets
│   ├── tex.snippets
│   ├── vim.snippets
│   └── zsh.snippets
└── syntax
    └── snippet.vim

After that, put this line in your ~/.vimrc:

filetype plugin on

and run this command in Vim to make the snipMate doc available:

:helptags ~/.vim/doc

If you do all that, you should be able to read the snipMate doc, which you should do before anything else:

:help snipmate

Good luck.

share|improve this answer
You were right! – Santosh Kumar Jul 13 '12 at 5:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.