Beauty is indeed in the eye of the
beholder, and
i must admit that the color scheme i demonstrated pleases
my eyes quite well. But, i totally understand where you are
coming from, and your link to the Edward Tufte site has
inspired me:
#!/usr/bin/perl -w
use strict;
use constant FOO => 'bar';
my @array = qw(one two three);
my $scalar = 'when in Rome';
# some comments
print "i like Rome\n" if $scalar =~ /Rome/;
print "no digits\n" if $scalar !~ /\d+/;
sub foo {
return 'foo';
}
|
Needs some more tweaking, but you get the point - if it's
the colors themselves that bother, and not the notion of
syntax highlighting, then just change them to suite your
needs. Here is the pertinant .gvimrc config info:
hi Normal guifg=#35351d guibg=#fffff3
hi PreProc guifg=#de022a guibg=#fffff3
hi Statement guifg=#8d6b5f guibg=#fffff3
hi Comment guifg=#777777 guibg=#fffff3
hi Identifier guifg=#2c2255 guibg=#fffff3
hi Constant guifg=#0f6d30 guibg=#fffff3
hi Special guifg=#de022a guibg=#fffff3
hi Cursor guifg=#de022a guibg=#c13a30
Cheers, and thanks for the links!
jeffa
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.