.vimrc 804 B

12345678910111213141516171819202122232425262728293031323334353637
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3. set rtp+=~/.vim/bundle/Vundle.vim
  4. call vundle#begin()
  5. Plugin 'VundleVim/Vundle.vim'
  6. Plugin 'preservim/nerdtree'
  7. Plugin 'justmao945/vim-clang'
  8. "Plugin 'sheerun/vim-polyglot'
  9. "Plugin 'vim-airline/vim-airline'
  10. "Plugin 'mattn/emmet-vim'
  11. call vundle#end() " required
  12. filetype plugin indent on " required
  13. " Relative numbers
  14. set number
  15. set relativenumber
  16. " Set the TAB's size to 2 characters
  17. set tabstop=2
  18. set shiftwidth=2
  19. set expandtab
  20. " Set the maximum of 80 characters per line
  21. set colorcolumn=80
  22. set textwidth=80
  23. set formatoptions+=t
  24. " vim-clang options
  25. let g:clang_debug=3
  26. let g:clang_format_auto=1
  27. let g:clang_check_syntax_auto=1
  28. let g:clang_verbose_pmenu=1
  29. let g:clang_format_style="GNU"