Skip to content

Instantly share code, notes, and snippets.

View trapd00r's full-sized avatar
🐫
japh

magnus woldrich trapd00r

🐫
japh
View GitHub Profile
@trapd00r
trapd00r / gist:2996218
Created June 26, 2012 14:49 — forked from dahu/gist:2996208
spacedots
set conceallevel=2 concealcursor=nc
syntax match spaceDots " " conceal cchar=·
hi spaceDots ctermbg=fg ctermfg=197
hi clear Conceal
hi Conceal ctermfg=220 ctermbg=196 cterm=boldunderlineitalicreverse
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
my @fruits = qw(orange apple pear pineapple blueberry);
for my $i(keys(@fruits)) {
printf("%d: %s\n", $i + 1, $fruits[$i]);
}