Skip to content

Commit

Permalink
changes to vimrc, cleanup, remove YCM
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Kallos committed Feb 26, 2014
1 parent d07752d commit 5b65653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
20 changes: 2 additions & 18 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
set nocompatible
filetype off
filetype plugin indent on
" Include GOROOT as path
set rtp+=$GOROOT/misc/vim
" Syntax highlighting
set rtp+=/.vim/bundle/ctrlp.vim
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

" let Vundle manage Vundle
" required!
Bundle 'Valloric/YouCompleteMe'
Bundle 'kien/ctrlp.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-repeat'
Bundle 'vim-scripts/swap-parameters'
Bundle 'brookhong/DBGPavim'
Bundle 'airblade/vim-gitgutter'
Bundle 'tomtom/tcomment_vim'
Bundle 'thisivan/vim-bufexplorer'
Bundle 'godlygeek/tabular'
Bundle 'derekwyatt/vim-scala'
Bundle 'pkallos/vim-scala'
Bundle 'ack.vim'
Bundle 'surround.vim'

Expand Down Expand Up @@ -69,9 +64,6 @@ if has("autocmd")
augroup END
endif

" Open tag in new tab
" map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR>

" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! %!sudo tee > /dev/null %
Expand Down Expand Up @@ -144,10 +136,6 @@ if has("multi_byte")
set fileencodings=ucs-bom,utf-8,latin1
endif

" Debug port
let g:dbgPavimPort = 9000
let g:dbgPavimBreakAtEntry = 0

" Auto reload files on disk
set autoread

Expand All @@ -156,10 +144,6 @@ let g:gitgutter_enabled = 1
nnoremap <Leader>n :GitGutterNextHunk<CR>
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
Expand Down
1 change: 0 additions & 1 deletion bundle/YouCompleteMe
Submodule YouCompleteMe deleted from 3a285e

0 comments on commit 5b65653

Please sign in to comment.