-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
49 lines (38 loc) · 1.01 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
" vimrc for coding
" Because Escape is too far
inoremap <C-L> <Esc>
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'mileszs/ack.vim'
Plug 'bling/vim-airline'
Plug 'rstacruz/vim-closer'
Plug 'mattn/emmet-vim'
Plug 'kballard/vim-fish'
Plug 'tpope/vim-fugitive'
Plug 'Yggdroot/indentLine'
Plug 'pangloss/vim-javascript'
Plug 'jelera/vim-javascript-syntax'
Plug 'elzr/vim-json'
Plug 'goatslacker/mango.vim'
Plug 'edsono/vim-matchit'
Plug 'scrooloose/nerdtree'
Plug 'moll/vim-node'
Plug 'rstacruz/vim-opinion'
Plug 'tpope/vim-surround'
Plug 'scrooloose/syntastic'
Plug 'marijnh/tern_for_vim', { 'do': 'npm install' }
Plug 'Valloric/YouCompleteMe'
call plug#end()
" YouCompleteMe
"let g:ycm_autoclose_preview_window_after_completion = 1
set completeopt-=preview
" Syntastic
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" Hybrid mode in numbering lines
"set number
set relativenumber
" Remove trailing whitespaces before write
autocmd BufWritePre * :%s/\s\+$//e
set background=dark
color mango