" directory to search for set path=., " allow backspacing over everything in insert mode set backspace=indent,eol,start " Monaco 14 set guifont=Monaco:h10 " syntax on syntax enable colorscheme evening " use indents of 4 spaces, and have them copied down lines: set shiftwidth=4 set tabstop=4 set softtabstop=4 set expandtab set autoindent set smartindent set number " make searches case-insensitive, unless they contain upper-case letters: set ignorecase set smartcase " Highligh current line set cursorline "set cursorcolumn set history=50000 " keep 50 lines of command line history set ruler " show the cursor position all the time set showcmd " display incomplete commands " search set hlsearch " display search matches :hi Search guibg=LightBlue set incsearch " do incremental searching set wildignore=*.pyc,*.tar,.svn,libs,db,__init__.py, :filetype on " autosave when buffer loses focus set autowriteall map # :cnext map @ :tnext map ! :exec "vim /" .expand("") . "/ **/*.py" map & :!ctags -R . map ,s :source ~/.vimrc map ,e :e ~/.vimrc au BufNewFile,BufRead *.arc set ft=lisp au BufNewFile,BufRead *.wsgi set ft=python au BufNewFile,BufRead *.fcgi set ft=python filetype plugin on set ofu=syntaxcomplete#Complete autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS autocmd FileType html set omnifunc=htmlcomplete#CompleteTags autocmd FileType css set omnifunc=csscomplete#CompleteCSS autocmd FileType vim set omnifunc=syntaxcomplete#Complete autocmd FileType c set omnifunc=ccomplete#Complete " Jump 5 lines when running out of the screen set scrolljump=10 " Indicate jump out of the screen when 3 lines before end of the screen set scrolloff=5