Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (49 sloc) 1.54 KB
"call pathogen#infect()
filetype plugin indent on
syntax on
set encoding=utf-8
set expandtab
set hidden
set incsearch
set noshowmatch
set showcmd
set smarttab
set sw=2
set ts=2
set ruler
set nowrap
set backspace=indent,eol,start
set bg=light
autocmd FileType python ",php (the php i'm doing these days is 2 spaces)
\ setlocal sw=4 |
\ setlocal ts=4
let loaded_matchparen = 1 " Don't highlight brackets
"nmap <silent> <c-d> :NERDTreeToggle<CR>
"let g:NERDTreeWinSize = 35
"let g:NERDTreeMinimalUI = 1
"let g:syntastic_enable_signs=0
" See
set nobackup
set nowritebackup
set noswapfile
" See
" Commented out because it breaks netrw and scp://
"set shellcmdflag=-ic
" See
set wildmode=longest,list,full
" See
" Allow saving of files as sudo when I forget to start vim using sudo.
"cmap w!! %!sudo tee > /dev/null %
set runtimepath^=~/.vim/bundle/ctrlp.vim
" Don't do any clever directory sniffing
let g:ctrlp_working_path_mode = ''
" Easy most-recent-buffer switching
nnoremap <Tab> :b#<CR>
" :W and :Q act like :w and :q
command W w
command Q q
command Wq wq
command WQ wq
" Single space when joining and justifying
set nojoinspaces