Borrowed from Prelude and Purcell's .emacs.d, mostly for Erlang and Go dev