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

Re: How to print in vim with line number

Expand Messages
  • Benji Fisher
    ... Did you look under ... yet? There seems to be an option for this, but I have not tested it. HTH --Benji Fisher
    Message 1 of 5 , May 1, 2002
      On Tuesday, April 23, 2002, at 08:53 AM, He WanQing-a2536c wrote:

      > Hi,vimmers
      >     I have two questions here:
      >     1) How can I print the code from vim (Win32 version) with the line
      > number also printed? -- in unix, I use enscript to print the code.
      >     2) When use vim as an email editor under windows, is there any
      > 'email-mode' just for email format?
      > BTW, in http://www.netcomuk.co.uk/~mrw/vim/colorschemes/index.html%c2%a0Mike
      > Williams provide a colorscheme for printing on black and white printer
      > with syntax 'bold, italic and underline'.
      > Thanks in advance
      > Global Software Group, Motorola China(GSG China)

      Did you look under

      :help 'printoptions'

      yet? There seems to be an option for this, but I have not tested it.

      HTH --Benji Fisher
    • HALIM,SALMAN (HP-NewJersey,ex2)
      there is: number:y -- it works. ... From: Benji Fisher [mailto:benji@member.AMS.org] Sent: Wednesday, May 01, 2002 9:22 AM To: He WanQing-a2536c Cc:
      Message 2 of 5 , May 1, 2002
        there is: number:y -- it works.

        -----Original Message-----
        From: Benji Fisher [mailto:benji@...]
        Sent: Wednesday, May 01, 2002 9:22 AM
        To: He WanQing-a2536c
        Cc: vim@...
        Subject: Re: How to print in vim with line number


        On Tuesday, April 23, 2002, at 08:53 AM, He WanQing-a2536c wrote:

        > Hi,vimmers
        >     I have two questions here:
        >     1) How can I print the code from vim (Win32 version) with the line
        > number also printed? -- in unix, I use enscript to print the code.
        >     2) When use vim as an email editor under windows, is there any
        > 'email-mode' just for email format?
        > BTW, in http://www.netcomuk.co.uk/~mrw/vim/colorschemes/index.html%c2%a0Mike
        > Williams provide a colorscheme for printing on black and white printer
        > with syntax 'bold, italic and underline'.
        > Thanks in advance
        > Global Software Group, Motorola China(GSG China)

        Did you look under

        :help 'printoptions'

        yet? There seems to be an option for this, but I have not tested it.

        HTH --Benji Fisher
      Your message has been successfully submitted and would be delivered to recipients shortly.