Re: [Vim-latex-devel] help needed with \ll and \lv shortcuts
Brought to you by:
srinathava,
tmaas
From: Charles B. <bon...@ma...> - 2003-01-09 16:49:11
|
Thanks for your prompt responses. I believe the \ll and \lv problems were due to an interaction with auctex.vim that I had in my /.vim/ but had forgotten about. Since removing auctex.vim, the problem is gone. One bug: The documentation says that "SPG" gives a \paragraph, but "SPR" does. Two suggestions: 1) add the following line to main.vim to give \sum (which I use a lot and a macro can save lots of typing) call IMAP (g:Tex_Leader.'M', "\\sum_{<++>}^{<++>}<++>", 'tex') (an "M" is a rotated sigma). 2) add the reformat paragraph macro from auctex.vim (lines 604-625). One comment: The output of \ll is confusing. It took me awhile to figure out how to continue editing without exiting the editor. I would prefer to continue to see my file in a window (\ll was opening up my .bbl file which it thought was in error--and it wasn't). This problem may be unavoidable due to complexities within vim, but it is confusing when first presented. Thanks again. If I find any more bugs or suggestions, I'll let you know. Charlie Boncelet On Wed, 2003-01-08 at 16:30, Benji Fisher wrote: > Charles Boncelet wrote: > > As for your suggestion: > > > > :map \ll > > No mapping found. > > > > I'm using gvim 6.1. Yes, I was unclear. I can type > > the letters :-), but nothing happens when I do. > > > > I did what I thought was a correct install. Now > > I have some idea what's wrong (no mapping found). > > > > Thanks, > > Charlie Boncelet > > Maybe you have set mapleader? > > :echo mapleader > > (If it is undefined, you will get an error message. If it is defined, > try using its value instead of "\".) Maybe you have a terminal-only vim? > > :echo has("gui") > > (I do not know why, but these maps are only defined if this returns 1, > true. We should probably change this...) Maybe the right files are not > being sourced? (Unlikely, since you said the menu works.) > > :scriptnames > > and look for something line .../ftplugin/latex-suite/main.vim . > > HTH --Benji Fisher -- Charles Boncelet <bon...@ec...> University of Delaware |