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

Re: request: add command line arg to launch with different background

Expand Messages
  • Phil Dobbin
    ... Hash: SHA1 ... You could try something with the -c flag. See: `:h -c` Never tried it but it may work with `colorscheme` Cheers, Phil.. - -- But masters,
    Message 1 of 3 , Apr 18, 2012
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      On 18/04/2012 17:19, Srinath wrote:

      > This is a request, but someone may show me how to modify the mvim
      > command so that if I do something like:
      > []$ mvim -bgl
      > it starts macvim with light background
      > and
      > []$mvim -bgd
      > it starts in dark.
      >
      > Ofcourse I would only use the command line arg for my personal non-
      > default background. I usually code with a dark background, but when
      > using a projector, we all know the greens and blues diffuse on a dark
      > background, so light is more usuable. I do use the mavim colorscheme
      > ( which is great for me).

      You could try something with the -c flag. See:

      `:h -c`

      Never tried it but it may work with `colorscheme`

      Cheers,

      Phil..

      - --
      But masters, remember that I am an ass.
      Though it be not written down,
      yet forget not that I am an ass.

      Wm. Shakespeare - Much Ado About Nothing


      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
      Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
      Comment: GPGTools - http://gpgtools.org
      Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

      iQEcBAEBAgAGBQJPjuw1AAoJEKpMeDHWT5ADzHwH/RdEvSpIpCn7lBlZYkeE5RhF
      zQV7ZoSRAoSIO/9BipswsvR3bA9224ddnY+72RRfaQsVNNN07/AK07F4ZGJNy2yV
      9lRRb/ZJC9H9eyuDLg+Ju87C2ItIhZ3PmGPVAgmCCcnrlRckZwj53cMxF6paWr43
      SqMWVzxhTF2ZgqmBGUWcNPcrtIxc5kbNw3LIRYCRZ97skq63Jd6uAxholIemTKxx
      3adUIa1OcvQ/POVGdjFAPZSUXcJC7g1ZKSmZUlRk9fgf2Cqx90kAGUj9Gb03DTcV
      Jh+gzCEA2U9YbP1+UNGc9kbLhLUYu19F3SvBvfRSNvqd43spKNqNcAGoH9jh06g=
      =5IcG
      -----END PGP SIGNATURE-----
    Your message has been successfully submitted and would be delivered to recipients shortly.