Re: [Vim-latex-devel] help needed with \ll and \lv shortcuts
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-01-10 18:54:35
|
Hey Charlie, On Fri, 10 Jan 2003, Charles Boncelet wrote: > Even weirder in the my version (a few days old), type "I am here". The > double quotes get changed to two left quotes, which then trigger the `I > substitution and you get `\int... > > Also fix for `I (which gives int). The others (lines 90-116 in my > main.vim) might occur, but are less likely. If the fix is easy, fix for > them also. > > Some bugs: When I type `i or `j or `o (letters not in greek) I get an > error: Undefined variable s:greek_i etc. instead of `i etc. > All these problems have been taken care of in the latest version... I wonder if I have made a release... Yes... I see the latest files on the download page of latex-suite have these fixes... > The issue of what to use as a Tex_Leader is interesting. Some years > ago, I did my own mappings (when vim was much more primative) with ",". > The idea is that in English a comma is almost always followed by > whitespace. The same holds true for semi-colon ";". Both make good > leaders. A period "." can also be used (as in nroff) Yes... When I first started this project, I should have thought a bit more about what leader character to use. I admit, in retrospect, ';' would have made a most excellent choice. I think I have _never_ used a ; in all of my latex writing and its so nicely placed... Having said that, its still possible that some people might like to customize their leader settings to be '`' because its a somewhat commonly used vim <leader>. In that case, they would have had problems. The present solution allows people to have Tex_Leader as '`' and still continue using latex-suite smoothly. > A left quote is a little more problematic. It is used for diacritical > marks (as you note) and for double left quotes in Latex. Many > experienced latex authors automatically type `` at the beginning of a > quote. > Yes... Well, take some consolation in the fact that for the first couple of days of the project, I used '\' as the default!!! Imagine the havoc that caused. :) > If this were a brand new project, I'd suggest using one of "," or ";" > for latex-suite macros and leaving the other one for user defined > macros. > Well, unfortunately, it really isn't a brand new project... And since I have solved the problem with using Tex_Leader = '`', I will let it remain as it is.. (at least till someone reports an even more serious problem). Srinath |