Re: [Vim-latex-devel] Bug with mapleader = " "
Brought to you by:
srinathava,
tmaas
From: Mika F. <mik...@zo...> - 2010-10-07 21:00:54
|
On Thu, Oct 7, 2010 at 22:17, ZyX <zy...@np...> 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 |