Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. "dein Scripts-----------------------------
  2. if &compatible
  3. set nocompatible " Be iMproved
  4. endif
  5.  
  6. " Required:
  7. set runtimepath+=/home/mmw/.vim/bundles/repos/github.com/Shougo/dein.vim
  8.  
  9. " Required:
  10. if dein#load_state('/home/mmw/.vim/bundles')
  11. call dein#begin('/home/mmw/.vim/bundles')
  12.  
  13. " Let dein manage dein
  14. " Required:
  15. call dein#add('/home/mmw/.vim/bundles/repos/github.com/Shougo/dein.vim')
  16.  
  17. " Add or remove your plugins here:
  18. call dein#add('Shougo/neosnippet.vim')
  19. call dein#add('Shougo/neosnippet-snippets')
  20. call dein#add('vim-syntastic/syntastic')
  21.  
  22. " You can specify revision/branch/tag.
  23. call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
  24.  
  25. " Required:
  26. call dein#end()
  27. call dein#save_state()
  28. endif
  29.  
  30. " Required:
  31. filetype plugin indent on
  32. syntax enable
  33.  
  34. " If you want to install not installed plugins on startup.
  35. "if dein#check_install()
  36. " call dein#install()
  37. "endif
  38.  
  39. "End dein Scripts-------------------------
  40.  
  41.  
  42.  
  43. set bg=dark
  44. set ai
  45. set tw=79
  46. set expandtab
  47. set tabstop=4
  48. set shiftwidth=4
  49. set updatetime=250
  50. set laststatus=2
  51. set number
  52. set statusline+=%#warningmsg#
  53. set statusline+=%{SyntasticStatuslineFlag()}
  54. set statusline+=%*
  55.  
  56. let g:syntastic_always_populate_loc_list = 1
  57. let g:syntastic_auto_loc_list = 1
  58. let g:syntastic_check_on_open = 1
  59. let g:syntastic_check_on_wq = 0
  60. highlight ExtraWhitespace ctermbg=red guibg=red
  61. match ExtraWhitespace /\s\+$/
  62. autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
  63. autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
  64. autocmd InsertLeave * match ExtraWhitespace /\s\+$/
  65. autocmd BufWinLeave * call clearmatches()
  66.  
  67. set foldmethod=indent
  68. set foldnestmax=10
  69. set nofoldenable
  70. set foldlevel=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement