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

Re: truncation of statusline %F variable

Expand Messages
  • Paul J
    ... Hash: SHA1 ... I haven t solved the problem, but for now I have modified the status line to use %f as opposed to %F, and now use :pwd on demand. Having the
    Message 1 of 2 , Nov 1, 2002
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1


      >I have the following statusline:
      >
      >set statusline=%h%r%(%m%F%)%=%10.10l\ of\ %L,%-4.10c\ \ %p%%
      >
      >With long dir names, %F is truncated even if the terminal is wide
      >enough. Even if I set a minimum of 50 chars on %F I still get truncation
      >(so I assume it can't be a default value in my mind). What I would like
      >is for %F to expand to occupy as much space as it requires, subject to
      >the minimum and maximum constraint on the right aligned text.

      I haven't solved the problem, but for now I have modified the status
      line to use %f as opposed to %F, and now use :pwd on demand. Having the
      complete path displayed would be nice though :-)

      Kind regards,


      Paul
      - --
      Department of Computing, Imperial College London
      http://myitcv.org.uk/
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.0.6 (GNU/Linux)
      Comment: For info see http://www.gnupg.org

      iD8DBQE9wr8b0YkfvYj92P4RAic1AJ4j4TuHtmac1sZ/sbqlTy4RM1abLACggs/M
      ikFkaJE4+FNH4b9SrWt3R9U=
      =OGyK
      -----END PGP SIGNATURE-----
    Your message has been successfully submitted and would be delivered to recipients shortly.