3

次のファイルは、私の vimrc ファイルです。snipmate.vim ファイルをソースしようとしましたが、vimrc ファイルに貼り付けが設定されていません。.vim ディレクトリでスニップメイトの git clone を実行し、その場所をランタイムパスに追加しました。

MAC OSXを使用しています

$ cat .vimrc 
source ~/.vim/snipmate.vim/plugin/snipMate.vim
nnoremap <Space> za
vnoremap <Space> za
nnoremap zO zCzO
set smartindent
set hlsearch
set ignorecase
set foldenable
set foldmethod=syntax
syn region foldBraces start=/{/ end=/}/ transparent fold
syn region foldJavadoc start=,/\*\*, end=,\*/, transparent fold keepend
set ai
set sm
set incsearch
set runtimepath^=~/.vim/bundle/ctrlp.vim,~/.vim/nerdtree,~/.vim/snipmate.vim
set nocompatible            " Because filetype detection doesn't work well in compatible mode
filetype plugin indent on   " Turns on filetype detection, filetype plugins, and filetype indenting all of which add nice extra features to whatever language you're using
syntax enable               " Turns on filetype detection if not already on, and then applies filetype-specific highlighting.
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class
set diffopt+=iwhite     "Ignore whitespaces in vimdiff"
filetype plugin on

Snipmate の木構造

$ tree .vim/snipmate.vim/
.vim/snipmate.vim/
├── README.markdown
├── after
│   └── plugin
│       └── snipMate.vim
├── autoload
│   └── snipMate.vim
├── doc
│   ├── snipMate.txt
│   └── tags
├── ftplugin
│   └── html_snip_helper.vim
├── plugin
│   └── snipMate.vim
├── plugin-info.txt
├── snippets
│   ├── _.snippets
│   ├── autoit.snippets
│   ├── c.snippets
│   ├── cpp.snippets
│   ├── erlang.snippets
│   ├── html.snippets
│   ├── java.snippets
│   ├── javascript.snippets
│   ├── mako.snippets
│   ├── objc.snippets
│   ├── perl.snippets
│   ├── php.snippets
│   ├── python.snippets
│   ├── ruby.snippets
│   ├── sh.snippets
│   ├── snippet.snippets
│   ├── tcl.snippets
│   ├── tex.snippets
│   ├── vim.snippets
│   └── zsh.snippets
└── syntax
    └── snippet.vim

8 directories, 29 files

他のプラグイン ( ctrl-p および nerdtree ) は機能していますが、snipmate は機能していません。私は何を間違っていますか?

4

2 に答える 2