dotfiles

Some dot files (configuration files) I recently set up. Those should be usable as they are here (no additional adjustements necessary).

.vimrc (Vim)

Config file for vim:

set nocp
set hidden
set incsearch nohlsearch ignorecase smartcase
set ruler
set bg=dark
set bs=2
set fileencodings=utf-8,iso-8859-2
set esckeys
set autoindent

au BufNewFile,BufRead *.pc set ft=c
au BufNewFile,BufRead *.html set sts=2 ts=2 sw=2 et ai

syntax on

.bashrc (Bash)

I usually add following lines at the end of bash init scripts (usually .bashrc):

export VISUAL=vim
export EDITOR=vim
umask 077
export HISTCONTROL=erasedups
export HISTSIZE=5000
title_prefix() {
  export PROMPT_COMMAND='echo -ne "\033]0;'$1' ${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
}

if [ -x /etc/bash_completion ]; then . /etc/bash_completion; fi

.xbindkeysrc (xbindkeys)

"gnome-terminal"
  control+alt+t

$Id: notes-dotfiles.html,v 1.6 2009/05/04 13:59:41 maciej Exp $