Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "dein Scripts-----------------------------
- if &compatible
- set nocompatible " Be iMproved
- endif
- " Required:
- set runtimepath+=/home/mmw/.vim/bundles/repos/github.com/Shougo/dein.vim
- " Required:
- if dein#load_state('/home/mmw/.vim/bundles')
- call dein#begin('/home/mmw/.vim/bundles')
- " Let dein manage dein
- " Required:
- call dein#add('/home/mmw/.vim/bundles/repos/github.com/Shougo/dein.vim')
- " Add or remove your plugins here:
- call dein#add('Shougo/neosnippet.vim')
- call dein#add('Shougo/neosnippet-snippets')
- call dein#add('vim-syntastic/syntastic')
- " You can specify revision/branch/tag.
- call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
- " Required:
- call dein#end()
- call dein#save_state()
- endif
- " Required:
- filetype plugin indent on
- syntax enable
- " If you want to install not installed plugins on startup.
- "if dein#check_install()
- " call dein#install()
- "endif
- "End dein Scripts-------------------------
- set bg=dark
- set ai
- set tw=79
- set expandtab
- set tabstop=4
- set shiftwidth=4
- set updatetime=250
- set laststatus=2
- set number
- set statusline+=%#warningmsg#
- set statusline+=%{SyntasticStatuslineFlag()}
- set statusline+=%*
- let g:syntastic_always_populate_loc_list = 1
- let g:syntastic_auto_loc_list = 1
- let g:syntastic_check_on_open = 1
- let g:syntastic_check_on_wq = 0
- highlight ExtraWhitespace ctermbg=red guibg=red
- match ExtraWhitespace /\s\+$/
- autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
- autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
- autocmd InsertLeave * match ExtraWhitespace /\s\+$/
- autocmd BufWinLeave * call clearmatches()
- set foldmethod=indent
- set foldnestmax=10
- set nofoldenable
- set foldlevel=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement