Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pkallos/dotvim
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Kallos committed Jan 25, 2014
2 parents daf36b5 + 5dda0ae commit 1487422
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ set hidden
nnoremap <C-h> :bp<CR>
nnoremap <C-l> :bn<CR>
" Close with C-q
nnoremap <C-x> :bd<CR>
" Allow cursor keys in insert mode
set esckeys

Expand Down Expand Up @@ -168,3 +165,12 @@ nnoremap <Leader>p :GitGutterPrevHunk<CR>
" PHPDoc
let g:pdv_template_dir = $HOME ."/.vim/bundle/pdv/templates"
nnoremap <buffer> <Leader>d :call pdv#DocumentCurrentLine()<CR>
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 xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete

0 comments on commit 1487422

Please sign in to comment.