-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.vimrc
74 lines (68 loc) · 1.74 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
" plug packages
call plug#begin('~/.vim/plugged')
Plug 'gmarik/vundle'
Plug 'vim-ruby/vim-ruby'
Plug 'ervandew/supertab'
Plug 'bronson/vim-trailing-whitespace'
Plug 'pangloss/vim-javascript'
Plug 'kchmck/vim-coffee-script'
Plug 'vim-scripts/ZoomWin'
Plug 'adelarsq/vim-matchit'
Plug 'tristen/vim-sparkup'
Plug 'plasticboy/vim-markdown'
Plug 'kballard/vim-swift'
Plug 'mustache/vim-mustache-handlebars'
Plug 'slim-template/vim-slim'
Plug 'fatih/vim-go'
Plug 'tpope/vim-fugitive'
Plug 'mileszs/ack.vim'
Plug 'puppetlabs/puppet-syntax-vim'
Plug 'jiangmiao/simple-javascript-indenter'
Plug 'mxw/vim-jsx'
Plug 'burnettk/vim-angular'
Plug 'othree/html5.vim'
Plug 'elixir-lang/vim-elixir'
Plug 'briancollins/vim-jst'
Plug 'jszakmeister/vim-togglecursor'
Plug 'vim-airline/vim-airline'
Plug 'rking/ag.vim'
Plug 'Chun-Yang/vim-action-ag'
Plug 'jparise/vim-graphql'
Plug 'leafgarland/typescript-vim'
Plug 'vim-scripts/xoria256.vim'
" Plug 'w0rp/ale'
call plug#end()
" don't let the syntax highlighter kill editor performance
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0
" take in an extra file from the local directory if necessary
if filereadable(glob(".vimrc.local"))
source .vimrc.local
endif
" vim options
filetype plugin indent on
syntax on
cabbr te tabedit
silent! colorscheme xoria256 " installed via a plug
set expandtab
set nocompatible
set laststatus=2
set tabstop=2
set shiftwidth=2
set showtabline=2
set number
set wrap
set backspace=0
set t_Co=256
set colorcolumn=80 " red line and over is error
set textwidth=0
set hlsearch
" turn off vim-markdown folding
let g:vim_markdown_folding_disabled=1
" enforce purity
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
" set nonumber
highlight Normal ctermbg=None