Re: [Vim-latex-cvs] vimfiles/plugin imaps.vim,1.14,1.15
Brought to you by:
srinathava,
tmaas
|
From: Benji F. <be...@me...> - 2002-12-30 13:39:35
|
Srinath Avadhanula wrote:
> I just noticed another problem with the long marker string. We are
> triggering line breaks unecessarily. Just doing $$ 10 spaces away from
> EOL causes the $$ to slip into the next line. This will have to be fixed
> too...
>
> Maybe Benji's original idea of using phs.phs instead of the marker
> string... (maybe check to see if phs != phe before this...)
>
> Srinath
Maybe we should go back to the idea of positioning the cursor with
{count}<bs> and {count}<space> (in Normal mode). The comment in the
code says that the problem is that strlen() returns different values
depending on the encoding. Does anyone remember how to produce an
example of this? Did we ever try
:let n = strlen(substitute(text, ".", "x", "g"))
to calculate the right number of <bs> or <space> characters to use?
--Benji
|