~/.gitconfig

[user]
  email =
  name =
[color]
  ui = true
[core]
  autocrl = input
[alias]
  st = status
  ci = commit
  br = branch
  co = checkout
  df = diff
  lg = log -p
  lol = log --graph --decorate --pretty=oneline --abbrev-commit
  lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
  ls = ls-files
  #lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' –-abbrev-commit

~/.vimrc

" changing line order can fuck things up
execute pathogen#infect()
if has("win32")
    language messages en
    behave mswin
    set nobackup nowritebackup noswapfile
    cd $USERPROFILE
    if has("gui_running")
        set guifont=Source_Code_pro:h11
        set guioptions-=T
    endif
endif

" Appearance
colorscheme solarized
set background=light
set cursorline colorcolumn=80
set hlsearch number
syntax on
highlight ShowTrailingWhitespace ctermbg=Red guibg=Red

" Indentation
set autoindent tabstop=4 shiftwidth=4
"set filetype plugin indent on

" Encoding
set encoding=utf-8 fileencoding=utf-8

" Status line
set laststatus=2 statusline=[%l,%v\ %P%M]\ %f\ %y%r%w[%{&ff}]

" Clears search highlight after pressing enter
nnoremap <silent> <CR> :noh<CR><CR>

set backupdir=~/.vim/backup//
set directory=~/.vim/swap//
set undodir=~/.vim/undo//

File location

Linux: ~/.vimrc
Windows: \Users\username\vimrc

Plugins

~/.cshrc

Note: ^[ represents the ESC character (see prompt line).

source ~/.cshrc-alias 

umask 077

set path = ($HOME/lib/bin /sbin /bin /usr/sbin /usr/bin /usr/games)
set path = ($path /usr/local/bin /usr/X11R6/bin /usr/local/sbin)

setenv  EDITOR          vim
setenv  PAGER           less
setenv  BLOCKSIZE       K
setenv  TEXINPUTS       .:$HOME/lib/tex::
setenv  LESSHISTFILE    "/dev/null/"

#set     ignoreeof
set     prompt="%{^[[01;36m%}`hostname`%{^[[0m%}[%{^[[93m%}%~%{^[[0m%}]%# "
set     nobeep
unset   savehist

if ($?prompt) then
  set filec
  if ( $?tcsh ) then
    bindkey "^W" backward-delete-word
    bindkey -k up history-search-backward
    bindkey -k down history-search-forward
  endif
endif

~/.cshrc-alias

alias e 'vim' #edit
alias ge 'gvim' #gui edit
alias ew 'e `which \!:1`'
alias fw 'file `which \!:1`'
alias fwl 'readlink `which \!:1` | xargs file'
alias gp 'gp --quiet'
alias h 'history 25'
alias j 'jobs -l'
alias ls 'env LANG=C ls -F'
alias l 'ls -lh'
alias mc 'env LANG=C sudo minicom'
alias mkcd 'mkdir \!:1 && cd \!:1'
alias Nmap 'sudo nmap -v -sS -P0 \!:1'
alias sc 'screen'
alias so 'unalias *; source ~/.cshrc'
alias rmtexout 'rm *.aux *.dvi *.log'
alias now 'date +%s'
alias w3mn 'w3m -no-mouse'
alias irb 'irb1.8 --readline -r irb/completion --prompt simple'
alias ri 'ri -Tf ansi'
alias APT 'sudo aptitude update && sudo aptitude full-upgrade'
alias en 'e `date +%s`' #edit now
alias mkmv 'mkdir \!:1 && mv \!:2* \!:1'