Please bear with us as we work to restore functionality to dotfiles.org.
Messy, but it's what I use regularly.
set t_Co=16
set backspace=2
set tabstop=4
set shiftwidth=4
set autoindent
set nowrap
set smartcase
set ignorecase
set number
set hlsearch
set incsearch
set ruler
set laststatus=2
set scrolloff=5
set sidescrolloff=10
set sidescroll=1
set wildmenu
filetype plugin on
"let maplocalleader = ","
" Folding
set foldenable
set foldmethod=indent
set foldlevel=100
set guioptions=acgir
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.loT,.la,.lo
autocmd BufRead *.ck set filetype=ck
" colorscheme default
"set background=dark
colorscheme jocafaterm
syn on
"hi StatusLine cterm=none ctermbg=darkblue ctermfg=white
"hi Comment cterm=none ctermbg=none ctermfg=cyan
" Switch between windows with tab
nnoremap :wincmd w
nnoremap :wincmd p
" Better tab navigation
map th :tabprev
map tl :tabnext
map tn :tabnew
map td :tabclose
" Make building a bit easier
" nnoremap :make
" nnoremap :make clean all
" nnoremap :make clean all install
" Nicer List Chars
set listchars=tab:\|\ ,eol:$
" set dictionary=/usr/share/dict/words
" set complete-=k complete+=k
" Autocompletion with tab
function TabWrapper()
if strpart(getline('.'), 0, col('.')-1) =~ '^\s*$'
return "\"
else
return "\"
endif
endfunction
imap =TabWrapper()
if &term=="builtin_gui"
" setlocal spell spelllang=en_us
" Fix for gvim.app on OS X
if exists('&macatsui')
colorscheme jocafa2
" set cursorline
" set cursorcolumn
set nomacatsui
set anti
set enc=utf-8
set termencoding=macroman
"set guifont=Monaco:h7
"set guifont=ProFontWindows:h12
set guifont=Andale\ Mono:h9
set lines=82
set columns=250
endif
endif
" Window resizing
map <
map +
map -
map >
map \ :vertical resize 40
map = =
map :!~/bin/syn %
map s :!~/bin/syn %
"map :call PhpSyntaxCheck()
map :!cvs -q up %
map u :!cvs -q up %