vim plugin - snipmate is not working in vim -
the following file vimrc file. tried sourcing snipmate.vim file, there no set paste in vimrc file. did git clone of snipmate in .vim directory , added location runtimepath.
i using 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 in compatible mode filetype plugin indent on " turns on filetype detection, filetype plugins, , filetype indenting of add nice features whatever language you're using syntax enable " turns on filetype detection if not on, , applies filetype-specific highlighting. set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class set diffopt+=iwhite "ignore whitespaces in vimdiff" filetype plugin on tree structure of 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 other plugins ( ctrl-p , nerdtree ) working, snipmate not. doing wrong?
you should use pathogen. of runtimepath stuff you.
Comments
Post a Comment