Saturday, April 17, 2010

dotfiles

Everyone knows linux stuff is totally customizable -- but what I figured out was that a lot of the configuration options are in hidden 'dotfiles'! I wanted to give cygwin a dark theme, so here's the most basic dark theme for vim and xterm

vim using .vimrc

" Example .vimrc here http://www.vi-improved.org/vimrc.php
" Vim colorschemes generator http://inspiration.sweyla.com/code/
" {
set background=dark " we plan to use a dark background
colorscheme inspiration907827
syntax on " syntax highlighting on
" }





xterm using .Xdefaults

XTerm*Background: black
XTerm*Foreground: grey
XTerm*utf8: 1





-- check out http://dotfiles.org/ for more of this stuff

2 comments:

  1. You may also like: http://blog.commandlinekungfu.com/

    Seriously helps with every day things, sometimes.

    OT, It's also good to see you're still programming, Colin! (it's Mad_guy here, if that rings a bell at all.)

    ReplyDelete
  2. thanks mad_guy. I only just got into that kind of command line stuff by looking at makefiles, which can have some pretty ridiculous command lines

    ReplyDelete