-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.vim
66 lines (58 loc) · 2.09 KB
/
plugins.vim
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
""""""""""""""""""""""""""""""
" => Load pathogen paths
""""""""""""""""""""""""""""""
execute pathogen#infect()
call pathogen#infect('~/.vim/third-party/{}')
call pathogen#helptags()
""""""""""""""""""""""""""""""
" => lightline
""""""""""""""""""""""""""""""
"let g:lightline = {
" \ 'colorscheme': 'wombat',
" \ }
"
"let g:lightline = {
" \ 'colorscheme': 'wombat',
" \ 'active': {
" \ 'left': [ ['mode', 'paste'],
" \ ['fugitive', 'readonly', 'filename', 'modified'] ],
" \ 'right': [ [ 'lineinfo' ], ['percent'] ]
" \ },
" \ 'component': {
" \ 'readonly': '%{&filetype=="help"?"":&readonly?"🔒":""}',
" \ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}',
" \ 'fugitive': '%{exists("*fugitive#head")?fugitive#head():""}'
" \ },
" \ 'component_visible_condition': {
" \ 'readonly': '(&filetype!="help"&& &readonly)',
" \ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))',
" \ 'fugitive': '(exists("*fugitive#head") && ""!=fugitive#head())'
" \ },
" \ 'separator': { 'left': ' ', 'right': ' ' },
" \ 'subseparator': { 'left': ' ', 'right': ' ' }
" \ }
""""""""""""""""""""""""""""""
" => ctrlp
""""""""""""""""""""""""""""""
let g:ctrlp_working_path_mode = 0
let g:ctrlp_map = '<c-f>'
map <leader>j :CtrlP<cr>
map <c-b> :CtrlPBuffer<cr>
let g:ctrlp_max_height = 20
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
""""""""""""""""""""""""""""""
" => Syntastic
""""""""""""""""""""""""""""""
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_enable_signs = 0
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_php_checkers = ['php', 'phpcs', 'phpmd']
let g:syntastic_go_checkers = ['go', 'golint']
"let g:syntastic_cpp_compiler = 'clang++'
"let g:syntastic_cpp_compiler_options = '-std=c++11 -stdlib=libc++'
"let g:syntastic_c_include_dirs = ['$HOME/local/boost/include']