Monday, October 8, 2012

Re: snipMate not working

Thanks Gary / Marc / Charles

Turns out putting "set nocompatible" into the .vimrc file did the trick (Thanks Marc)

This worked on it's own without any of the "filetype" settings, though as you'll see below I put them in anyway as I had heard they were important (possible for other reasons ?)

Thanks again for everyone's help

Much appreciated

contents of .vimrc file :

set ts=4
set ai
set shiftwidth=4
syn on
set mouse=a
au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery
color evening
filetype on
set tabpagemax=25
set smartindent
set showmatch
set vb t_vb=
set ruler
set incsearch
set nocompatible
au BufRead,BufNewFile *.php set ft=php.html
filetype plugin on
filetype indent plugin on | syn on
~
~
~
~
~

On Monday, October 8, 2012 7:34:38 PM UTC+13, Gary Johnson wrote:
> On 2012-10-06, Mashan wrote:
>
> > Thanks Gary
>
> >
>
> > Details below
>
> >
>
> > :scriptnames
>
> ...
>
> > 12: ~/.vim/plugin/snipMate.vim
>
> ...
>
> > 23: ~/.vim/after/plugin/snipMate.vim
>
> > 24: ~/.vim/ftplugin/html_snip_helper.vim
>
> ...
>
>
>
> > mashan@matt:~/Documents$ find ~/.vim -follow -iname \*snipmate\*
>
> > /home/mashan/.vim/autoload/snipMate.vim
>
> > /home/mashan/.vim/doc/snipMate.txt
>
> > /home/mashan/.vim/plugin/snipMate.vim
>
> > /home/mashan/.vim/after/plugin/snipMate.vim
>
>
>
> Thanks for the information. That's exactly what I wanted.
>
>
>
> SnipMate appears properly installed to me: :scriptnames shows it
>
> being sourced and find shows the files where I would expect them to
>
> be. I don't have SnipMate installed myself. I was hoping to have
>
> time this weekend to look at this further, but I haven't and
>
> probably won't for the rest of the week. Hopefully someone with
>
> SnipMate experience can offer some insight.
>
>
>
> Regards,
>
> Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: