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 <expr>)
:normal ^
is not allowed.
indent(".")?
HTH,
Gary
Nice, just forgot about indent().
Probably col("^") would be exactly the same as indent(".")+1 and
therefore redundant.
Oops this was slightly wrong.
Probably virtcol("^") would be exactly the same as indent(".")+1
(indent(".") counts virtual columns).
col("^") could still have its uses.
--
Regards,
Andy