On Sun, Jan 09, 2011 at 01:40:28PM -0800, adroid28 wrote:
>
> Hi everyone,
>
> I have a strange problem. I am using these two lines in my . vimrc file:
>
> autocmd BufWinLeave *.* mkview
> autocmd BufWinEnter *.* silent loadview
>
> Now when I try to type a double quote character (") vim freezes.
> I also started having similar behavior when trying to use parenthesis or
> curly brackets. I realized I can stop the freeze by pressing ctrl-C which
> prints at the cursor:
>
> <Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate<Plug>delimitMate...
> etc. (for many many times)
>
> So it should be something related to delimitmate.
> Strangely I removed delimitmate but I still get it.
> Any ideas?
Are you positive that you removed all references to the delimitmate
plugin?
Try launching Vim with the --noplugin option and see if you can
reproduce the problem. If it doesn't happen with --noplugin, then
that means that there is still some part of that plugin that is being
loaded. You use the :map command, preceded by :verbose to find out
where that mapping is being set:
:verbose map
Another useful command is :scriptnames. It will tell you the name of
each file Vim sourced during startup.
Hope this helps,
Erik
--
Erik Falor
Registered Linux User #445632 http://counter.li.org
pgpbRT9vvlaSC.pgp
Description: PGP signature
