-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
64 lines (52 loc) · 1.47 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
"NeoBundle Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath^=$HOME/.vim/bundle/neobundle.vim/
" Required:
call neobundle#begin(expand('$HOME/.vim/bundle'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" Add or remove your Bundles here:
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'flazz/vim-colorschemes'
NeoBundle 'tpope/vim-sensible'
NeoBundle 'rust-lang/rust.vim'
NeoBundle 'JuliaEditorSupport/julia-vim'
NeoBundle 'vim-syntastic/syntastic'
" Required:
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_mode_map = { 'mode': 'passive' }
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 0
let g:syntastic_check_on_w = 0
let g:syntastic_javascript_checker = ['eslint']
"End NeoBundle Scripts-------------------------
set background=light
let g:solarized_termtrans=1
colorscheme solarized
syntax enable
set nu
set ts=2
set sw=2
set expandtab
set cursorcolumn
set cursorline
set colorcolumn=96
set statusline+=%F
nnoremap <C-t> :wa<CR>:!make <CR>
nnoremap <C-c> :w<CR>:SyntasticCheck<CR>
nnoremap <C-j> :lnext<CR>
nnoremap <C-k> :lprev<CR>