On Thu, Oct 7, 2010 at 22:17, ZyX <z...@np.by> wrote:
> What problems do you have? If I do ``let g:mapleader="<Space>"'' before 
> loading
> tex file, everything works as expected. Maybe you tried to set g:mapleader to
> literal space?

Yes, I did. I was under the impression that "<space>" would not work.
I found some links to that effect:
http://stackoverflow.com/questions/446269/can-i-use-space-as-mapleader-in-vim
http://www.reddit.com/r/vim/comments/dh4u5/let_mapleader_space/

I have never tried it though. Maybe it's also an issue with missing quotes...

In any case the way vim-latex set the mappings was broken. I just
changed it so that the behavior stays the same except for my problem.

> I think that ``g:mapleader'' should be replaced but not with
> ``<Leader>'' but with ``g:latex_suite_mapleader'' or something like that.

I did not want to change this. But I agree it would make a lot of
sense. Maybe this variable could then default to <Leader> to keep the
current behavior?
Also maybe an option not to set those mappings and let users set their
own mappings would be useful.

Best,
 Mika

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to