Loading ...
Sorry, an error occurred while loading the content.

Re: [2] show total bytes in file

Expand Messages
  • Antoine J. Mechelynck
    ... Oops... actually is is line2byte(line( $ ) + 1) - 1
    Message 1 of 1 , Aug 1, 2004
    • 0 Attachment
      Antoine J. Mechelynck <antoine.mechelynck@...> wrote:
      > Rainer Bendig <lists@...> wrote:
      > > Hi,
      > > is it possible to show the total bytes in the file while i am
      > > editing it left or right from "line,char" ?
      > > --
      > > so long,
      > > Rainer Bendig aka mindz PGP/GPG key (ID:
      > > 0xCC7EA575) http://DigitallyImpressed.com Get it from
      > > wwwkeys.de.pgp.net for contacting me take a look on
      > > http://digitallyimpressed.com/contact
      > > ----------------------------------------------------------------------
      > > Don't reply to this e-mail address and please don't cc to me on
      > > lists. If we meet on a list, you can be sure that i am already on
      > > the list.
      >
      > Yes, it is. You'll need to write your own 'statusline' option, with
      > everything you want to appear. The filesise is
      >
      > line2byte(line("$") + 1)

      Oops... actually is is

      line2byte(line("$") + 1) - 1

      >
      > see
      > :help 'statusline'
      > :help line2byte()
      >
      > HTH,
      > Tony.
    Your message has been successfully submitted and would be delivered to recipients shortly.