Wednesday, April 27, 2011

A minimal mercurial.ini

A minimal mercurial.ini (or .hgrc):
[ui]
username = Ash
merge = TortoiseMerge
editor = vim
verbose = true

[extensions]
hgext.convert=
color=
purge=

[color]
mode=win32

The reason for the "mode=win32" can be found in this question: colors-in-cygwin-being-displayed-as-raw-ansi-codes.

Vim Options

Some options for the .vimrc file:
colorscheme desert
set spell
set lines=60
set columns=90
set nobackup
set tabstop=2
set shiftwidth=2
set expandtab
set ignorecase
set nowrapscan
set autoindent
set smartindent
set listchars=tab:>\ ,eol:$
set list