Created
July 21, 2017 06:11
-
-
Save proffalken/b11719c30da468ad2de242ce5c59add0 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dein Scripts----------------------------- | |
" | |
" MAKE SURE YOU INSTALL github.com/Shougo/dein.vim FIRST! | |
" | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: | |
set runtimepath^=~/.vim/repos/github.com/Shougo/dein.vim | |
" Required: | |
call dein#begin(expand('~/.vim')) | |
" Let dein manage dein | |
" Required: | |
call dein#add('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-airline/vim-airline') | |
call dein#add('vim-airline/vim-airline-themes') | |
call dein#add('tpope/vim-fugitive') | |
call dein#add('chriskempson/base16-vim') | |
call dein#add('airblade/vim-gitgutter') | |
call dein#add('scrooloose/syntastic') | |
call dein#add('hsanson/vim-android') | |
" You can specify revision/branch/tag. | |
call dein#add('Shougo/vimshell', { 'rev': '3787e5' }) | |
" Required: | |
call dein#end() | |
" Required: | |
filetype plugin indent on | |
" 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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment