Here I keep sane default configs for software i use.
Vim
syntax on
set ic
set hlsearch
set incsearch
set si
set ai
set ts=4
set sw=4
set mouse=n
set scrolloff=8
set ttymouse=xterm2
colorscheme default
Tmux
setw -g mode-keys vi
set -g prefix C-a
bind-key a send-prefix
bind-key C-a select-window -l
bind v split-window -v
bind b split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g history-limit 10000
unbind '"'
unbind %
unbind C-b
Xterm
XTerm*faceName: Monospace
XTerm*faceSize: 12
XTerm*saveLines: 5000
XTerm*background: #000000
XTerm*foreground: #eeeeec
XTerm*color0: #000000
XTerm*color8: #555753
XTerm*color1: #cc0000
XTerm*color9: #ef2929
XTerm*color2: #4e9a06
XTerm*color10: #8ae234
XTerm*color3: #c4a000
XTerm*color11: #fce94f
XTerm*color4: #3465a4
XTerm*color12: #729fcf
XTerm*color5: #75507b
XTerm*color13: #ad7fa8
XTerm*color6: #06989a
XTerm*color14: #34e2e2
XTerm*color7: #d3d7cf
XTerm*color15: #eeeeec
XTerm*vt100.translations: #override \
Shift Ctrl <Key> C: copy-selection(CLIPBOARD) \n\
Shift Ctrl <Key> V: insert-selection(CLIPBOARD)