.vimrc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3. " set the runtime path to include Vundle and initialize
  4. set rtp+=~/.vim/bundle/Vundle.vim
  5. call vundle#begin()
  6. " alternatively, pass a path where Vundle should install plugins
  7. "call vundle#begin('~/some/path/here')
  8. " let Vundle manage Vundle, required
  9. Plugin 'VundleVim/Vundle.vim'
  10. " The following are examples of different formats supported.
  11. " Keep Plugin commands between vundle#begin/end.
  12. " Git wrapper
  13. Plugin 'tpope/vim-fugitive'
  14. " Python autocompletion
  15. "Plugin 'davidhalter/jedi-vim'
  16. " status/tabline
  17. Plugin 'vim-airline/vim-airline'
  18. Plugin 'vim-airline/vim-airline-themes'
  19. " base16 color scheme
  20. Plugin 'chriskempson/base16-vim'
  21. " All of your Plugins must be added before the following line
  22. call vundle#end() " required
  23. filetype plugin indent on " required
  24. " To ignore plugin indent changes, instead use:
  25. "filetype plugin on
  26. "
  27. " Brief help
  28. " :PluginList - lists configured plugins
  29. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  30. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  31. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  32. "
  33. " see :h vundle for more details or wiki for FAQ
  34. " Put your non-Plugin stuff after this line
  35. " airline theme
  36. let g:airline_theme='violet'
  37. set t_Co=256
  38. colorscheme base16-monokai
  39. syntax on
  40. " enable vim modelines
  41. set modeline
  42. set tabstop=2 shiftwidth=2 expandtab
  43. set background=dark
  44. set showcmd
  45. " highlight searches
  46. set hlsearch
  47. " case insensitive searches
  48. set incsearch
  49. " Putty reg file: https://github.com/benjojo/base-16-putty
  50. " iTerm2: https://github.com/martinlindhe/base16-iterm2
  51. " Highlight 80 column
  52. set colorcolumn=80
  53. highlight ColorColumn ctermbg=LightGrey