" The basics
" I want this everywhere, all the time
syntax on
set autoindent
set tabstop=2
set shiftwidth=2
set expandtab
" Live in the now
set nocompatible
" DWIM
filetype on
filetype indent on
filetype plugin on
" GUI stuff
if has("gui_running")
winsize 116 53
colorscheme black_angus
" Mac stuff.
" Mostly used iTerm on osx, but uncomment this if it's your thing
" set nomacatsui
" set anti
" set enc=utf-8
" set gfn=Monaco:h11
else
colorscheme elflord
endif
" Don't read from a light bulb
set background=dark
" set my status line
" i get almost all my contextual information from this bit
set laststatus=2
set statusline=
" set statusline+=%#Keyword#
set statusline+=%-3.3n\ " buffer number
set statusline+=%f\ " filename
set statusline+=%h%m%r%w " status flags
set statusline+=\[%{strlen(&ft)?&ft:'none'}] " file type
set statusline+=%= " right align remainder
set statusline+=0x%B: " character value hex
set statusline+=%-8b " character value dec
set statusline+=%-14(%l,%c%) " line, character
set statusline+=%#Keyword#
set statusline+=%<@%p " file position
"
" Bells suck, quash them or make them go away
set noerrorbells
set vb t_vb=""
" Search as I type
set incsearch
let mapleader=","
map <Leader>n :set number!<CR>
map <Leader>p :set paste!<CR>