Skip to content

Instantly share code, notes, and snippets.

@proffalken
Created June 26, 2017 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proffalken/eeccb80c0c349e157ba0599d430a65ac to your computer and use it in GitHub Desktop.
Save proffalken/eeccb80c0c349e157ba0599d430a65ac to your computer and use it in GitHub Desktop.
"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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment