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
set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
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.7 2010/07/05 10:49:18 maciej Exp $