Advertisement
Guest User

Untitled

a guest
May 30th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. set nocompatible " be iMproved
  2. filetype off " required!
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6. call vundle#begin()
  7.  
  8. " let Vundle manage Vundle, required
  9. Plugin 'gmarik/Vundle.vim'
  10.  
  11. " My Plugins here:
  12. "
  13. " original repos on github
  14. Plugin 'altercation/vim-colors-solarized'
  15. Plugin 'bronson/vim-trailing-whitespace'
  16. Plugin 'fatih/vim-go'
  17. Plugin 'jamessan/vim-gnupg'
  18. Plugin 'jmcantrell/vim-virtualenv'
  19. Plugin 'kien/ctrlp.vim'
  20. Plugin 'scrooloose/nerdtree'
  21. Plugin 'scrooloose/syntastic'
  22. Plugin 'tpope/vim-fugitive'
  23. Plugin 'tpope/vim-surround'
  24.  
  25. " All of your Plugins must be added before the following line
  26. call vundle#end() " required
  27. filetype plugin indent on " required
  28.  
  29. syntax on
  30.  
  31. if has("gui_running")
  32. set lines=48
  33. set columns=120
  34. endif
  35.  
  36. if (exists('+colorcolumn'))
  37. set colorcolumn=100
  38. highlight ColorColumn ctermbg=9
  39. endif
  40.  
  41. let NERDTreeIgnore = ['\.pyc$']
  42.  
  43. set t_Co=16
  44. let g:solarized_termcolors=16
  45. set background=dark
  46. colorscheme solarized
  47.  
  48. set backspace=indent,eol,start
  49. set backup
  50. set backupdir=~/.vim/backup
  51. set directory=~/.vim/tmp
  52. set fileformats=unix,mac,dos
  53. set expandtab
  54. set formatoptions-=o
  55. set hidden
  56. set incsearch
  57. set ignorecase
  58. set laststatus=2
  59. set list
  60. set listchars=tab:>-,trail:-
  61. set modeline
  62. set nowrap
  63. set number
  64. set pastetoggle=<F2>
  65. set scrolloff=5
  66. set shiftwidth=4
  67. set showcmd
  68. set showmatch
  69. set showmode
  70. set sidescrolloff=10
  71. set smartcase
  72. set softtabstop=4
  73. set statusline=%f%m%r%h%w\ [b%n]%=%{virtualenv#statusline()}\ %{fugitive#statusline()}\ [%{strlen(&fenc)?&fenc:'none'},%{&ff}]\ [%Y]\ [%l\/%L,%v]
  74. set t_Co=256
  75. set tabstop=4
  76. set whichwrap=b,s,h,l,<,>,~,[,]
  77. set wildignore=*.dll,*.o,*.obj,*.bak,*.exe,*.pyc,*.swp,*.jpg,*.gif,*.png
  78. set wildmenu
  79. set wildmode=list:longest,full
  80.  
  81. "autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab
  82. autocmd FileType go set nolist
  83. autocmd FileType go set noexpandtab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement