diff --git a/.vimrc b/.vimrc index 749aa5e..87458d4 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,9 @@ +" if empty(glob("~/.vim/bundle/Vundle.vim")) + " silent !git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim + " autocmd GUIEnter * PluginInstall + " \ source ~/.vimrc +" endif + set nocompatible " required filetype off " required @@ -23,8 +29,8 @@ Plugin 'vim-syntastic/syntastic' " pep8 checking Plugin 'nvie/vim-flake8' -" autocomplete -" Bundle 'Valloric/YouCompleteMe' +" winresizer +Plugin 'simeji/winresizer' " search for files Plugin 'ctrlpvim/ctrlp.vim' @@ -107,22 +113,20 @@ set foldlevel=99 " remap code folding nnoremap f za -" see docstrings for folded code -let g:SimpylFold_docstring_preview=1 " html css js indents au BufNewFile,BufRead *.js, *.html, *.css \ set tabstop=4 | \ set softtabstop=4 | \ set shiftwidth=4 -" you complete me setup -let g:ycm_autoclose_preview_window_after_completion=1 -map g :YcmCompleter GoToDefinitionElseDeclaration - +" PLUGIN SETTINGS " nerd tree setup let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree map n :NERDTreeToggle +" see docstrings for folded code +let g:SimpylFold_docstring_preview=1 + " airline tabs let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#formatter = 'unique_tail_improved'