.vimrc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. set nocompatible
  2. filetype off
  3. set rtp+=/home/lo/.vim/bundle/Vundle.vim
  4. call vundle#begin()
  5. Plugin 'VundleVim/Vundle.vim'
  6. Plugin 'tpope/vim-surround'
  7. Plugin 'airblade/vim-gitgutter'
  8. Plugin 'L9'
  9. Plugin 'git://git.wincent.com/command-t.git'
  10. Plugin 'kien/ctrlp.vim'
  11. Plugin 'scrooloose/nerdtree'
  12. Plugin 'scrooloose/nerdcommenter'
  13. Plugin 'scrooloose/syntastic'
  14. Plugin 'bronson/vim-trailing-whitespace'
  15. Plugin 'itchyny/lightline.vim'
  16. Plugin 'ervandew/supertab'
  17. Plugin 'kien/rainbow_parentheses.vim'
  18. Plugin 'terryma/vim-multiple-cursors'
  19. Plugin 'Yggdroot/indentline'
  20. Plugin 'lilydjwg/colorizer'
  21. Plugin 'severin-lemaignan/vim-minimap'
  22. call vundle#end()
  23. filetype plugin indent on
  24. syntax enable
  25. hi CursorLine cterm=NONE ctermbg=darkgrey
  26. let g:UltiSnipsEditSplit="vertical"
  27. let g:UltiSnipsExpandTrigger="<tab>"
  28. let g:UltiSnipsJumpForwardTrigger="<c-b>"
  29. let g:UltiSnipsJumpBackwardTrigger="<c-z>"
  30. let NERDTreeShowHidden=1
  31. let mapleader=" "
  32. let g:lightline = {
  33. \ 'colorscheme': 'wombat'
  34. \}
  35. set tabstop=4
  36. set softtabstop=4
  37. set expandtab
  38. set number
  39. set showcmd
  40. set cursorline
  41. set wildmenu
  42. set lazyredraw
  43. set showmatch
  44. set incsearch
  45. set hlsearch
  46. set foldenable
  47. set foldlevelstart=10
  48. set foldnestmax=10
  49. set laststatus=2
  50. au VimEnter * RainbowParenthesesToggle
  51. au Syntax * RainbowParenthesesLoadRound
  52. au Syntax * RainbowParenthesesLoadSquare
  53. au Syntax * RainbowParenthesesLoadBraces