Re: [Vim-latex-devel] Bug with mapleader = " "
Brought to you by:
srinathava,
tmaas
From: ZyX <zy...@np...> - 2010-10-07 21:33:44
|
Ответ на сообщение «Re: [Vim-latex-devel] Bug with mapleader = " "», присланное в 01:00:23 08 октября 2010, Пятница. Отправитель: Mika Fischer: > Also maybe an option not to set those mappings and let users set their > own mappings would be useful. It is the most useful option: I have to place function IMAP(...) endfunction to my ftplugin/tex.vim in order not to have those very annoying insert mode mappings. Attached patch adds an option `g:latex_suite_omit_imap' that forbids using all IMAPs. Текст сообщения: > 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-v > im 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...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |