colophon

home

the darnedest thing is written and designed by Steven Hum with the following..

production environment

platform

the darnedest thing

comments processing

  • Ruby Mail library
  • Gmail spam filtering

web server

hosting services


Other tools used to construct this site can be found here. The current dotfiles containing the configuration files and scripts described in the various articles can be found here.

»»  about

monday, 14 march 2016

it’s a slow and methodical process. Step by step, extending an already feature rich window manager, molding it to one’s will. Fixing corner cases that invariably pop up over extended usage. Then adding visual flair with ricing scripts to enhance the user experience and keep it fresh.

Distraction free plugins for vim complete my particular setup which is now complemented by an artful desktop. Time to return to the other threads on this site which were always the original intent of this hardware (keyboard and layouts) and software detour to create a publishing environment..

comment ?

vim colors duochrome

thursday, 1 august 2019

contrary to most vim (editor) colorschemes which emphasize syntax highlighting, vim-colors-duochrome is a minimalistic dual monochromatic vim colorscheme born out a distraction free writing preference.

It is a fork of vim-colors-plain, which simply uses bold to highlight keywords and a contrasting colour for constant literals (string, numbers, tags, etc). DuoChrome is meant to be used with Gvim, the graphical mode of vim.

comments

what distinguishes DuoChrome from common vim colorschemes is the visual separation of content (source code) from comments, allowing focus to be drawn to either content or comments. This is achieved by not using the commonly assigned lighter grey colour for comments which tends to obscure the comments themselves – which are important to well documented programs – whilst adding visual noise around the programming statements.

Instead, DuoChrome assigns a color to comments that contrasts well with the background but at the same time allows focus to be drawn to either code or comments with its dual monochromatic presentation – dark versus light.

structure

this contrast of dark versus light allows the structure of code (dark) to be more readily revealed by subduing their associated comments (light) – a trick of the eye and its ability to focus on a particular contrast level while filtering out the rest. YMMV.

At the same time, focus can be drawn to the contrasting comments when necessary – this visual separation is also useful for reviewing the adequacy of the comments and their placement. Of course, good programming practices come into play – and are assisted by this visual contrast.

DuoChrome

Hence, DuoChrome: black and bold for text with blue for constants, and light paper colour for background with orange for comments. Dark backgrounds are the more prevalent vim colorschemes but a warm light background is easier on the eyes IMO – a throwback to days pounding on typewriters with real paper.

installation & usage

with vim-plug you add this to the .vimrc configuration file..

Plug 'sdothum/vim-colors-duochrome'

then..

set background=light colorscheme duochrome

comment ?