Re: Wish: col("^")

2007-05-21 Thread Nikolai Weibull
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Nikolai Weibull schrieb: > On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: > > ... get position of first non-blank character in the line. > > If there is col("$"), there should also be col("^"). > > In some situations (e.g. :imap ) > >:

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
Nikolai Weibull schrieb: On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. Then shouldn't there also be a col("0") for

Re: Wish: col("^")

2007-05-21 Thread Nikolai Weibull
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. Then shouldn't there also be a col("0") for symmetry? nikolai

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
Andy Wokula schrieb: Gary Johnson schrieb: On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. indent(".")? HTH

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
Gary Johnson schrieb: On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. indent(".")? HTH, Gary Nice, just fo

Re: Wish: col("^")

2007-05-21 Thread Gary Johnson
On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: > ... get position of first non-blank character in the line. > > If there is col("$"), there should also be col("^"). > In some situations (e.g. :imap ) >:normal ^ > is not allowed. indent(".")? HTH, Gary -- Gary Johnson

Re: Wish: col("^")

2007-05-21 Thread Yakov Lerner
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. ... but you can call your function, remember position/columns, do ':

Wish: col("^")

2007-05-21 Thread Andy Wokula
... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. -- Regards, Andy EOM