Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138set nocompatibleset encoding=utf-8call plug#begin('~/.vim/plugged')" ThemingPlug 'chriskempson/tomorrow-theme', { 'rtp': 'vim' }Plug 'junegunn/goyo.vim'Plug 'vim-airline/vim-airline'Plug 'vim-airline/vim-airline-themes'Plug 'bogado/file-line'Plug 'myusuf3/numbers.vim'Plug 'airblade/vim-gitgutter'" SyntaxesPlug 'ekalinin/Dockerfile.vim', { 'for': 'dockerfile' }Plug 'tpope/vim-haml', { 'for': 'haml' }Plug 'tpope/vim-markdown', { 'for': 'markdown' }Plug 'tpope/vim-rails', { 'for': 'ruby' }Plug 'stephencelis/vim-mml', { 'for': 'mml' }" UtilitiesPlug 'tpope/vim-bundler', { 'on': 'Bundle' }Plug 'tpope/vim-commentary'Plug 'tpope/vim-dispatch', { 'on': 'Dispatch' }Plug 'tpope/vim-endwise'Plug 'tpope/vim-fugitive'Plug 'tpope/vim-surround'Plug 'rking/ag.vim', { 'on': 'Ag' }Plug 'jiangmiao/auto-pairs'Plug 'kien/ctrlp.vim'Plug 'JazzCore/ctrlp-cmatcher'call plug#end()" Speednnoremap ; :" Theme/Colorssyntax onsilent! colorscheme Tomorrow-Nightset background=darkset cursorlineset nowrapset numberwidth=4set visualbellhighlight ColorColumn ctermbg=233call matchadd('ColorColumn', '\%81v', 100)set listset listchars=""set listchars=tab:\ \set listchars+=trail:.set listchars+=extends:>set listchars+=precedes:<set wildmenuset wildmode=list:longest,full" Indentationset autoindentset expandtabset shiftwidth=2set smartindentset tabstop=2" Searchingset ignorecaseset smartcaseset hlsearchset incsearch" Code foldingset foldmethod=syntaxset foldminlines=3set foldlevel=100" Ignore tmp/ directoriesset wildignore+=*/tmp/*" Interactionset backspace=indent,eol,startset laststatus=2set numberset scrolloff=3set sidescrolloff=5set showcmd" Undoset undodir=~/.vim/tmpset undofileset undolevels=1000set undoreload=10000set backupdir=~/.vim/tmpset directory=~/.vim/tmp" githi def link gitcommitOverflow WarningMsg" Makeau FileType make setlocal noexpandtab" Markdownfunction! s:Wrap() set wrap linebreak nolist set textwidth=120 call matchadd('ColorColumn', '\%121v', 100)endfunctionautocmd BufWritePre * :%s/\s\+$//eautocmd BufRead,BufNewFile *.md set filetype=markdownau FileType markdown call s:Wrap()" Mmlaugroup myvimrc au! autocmd FileType mml nnoremap <leader>m :w<cr>:MmlMake<cr>augroup END" Ctrl-Plet g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files --exclude-standard -co']let g:ctrlp_match_func = {'match' : 'matcher#cmatch' }" Dispatchaugroup dispatch au! autocmd BufNewFile,BufRead *_spec.rb compiler rspec autocmd BufNewFile,BufRead *_spec.rb set makeprg=bundle\ exec\ rspec\ % autocmd BufNewFile,BufRead *_test.rb compiler rake autocmd BufNewFile,BufRead *_test.rb set makeprg=bundle\ exec\ rake\ minitest\ TEST=%augroup END" Airlinelet g:airline_powerline_fonts=1let g:airline_theme='base16'