-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgconfig.vim.example
More file actions
78 lines (61 loc) · 2.46 KB
/
gconfig.vim.example
File metadata and controls
78 lines (61 loc) · 2.46 KB
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
75
76
77
78
set guifont=Ubuntu\ Mono\ 14
set lines=40
set columns=150
"""" vimwiki {{{
let g:vimwiki_list = [
\ {'path': '~/vimwiki/'},
\ { 'path': '~/vimwiki_md', 'syntax': 'markdown', 'ext': '.md' }
\ ]
" }}}
" Load projects' configuration if vim-project is installed
if !empty(glob('~/.vim/bundle/vim-project/autoload/project.vim'))
let g:project_use_nerdtree = 1
" let g:project_enable_welcome = 0
set rtp+=~/.vim/bundle/vim-project/
call project#rc("~/projects")
Project 'pimcore-aptekagemini-docker/src' , 'AptekaGemini'
Init 'AptekaGemini' , 'SetupAG'
Init 'AptekaGemini' , 'SetupAG2'
Project 'bagsoff/docker' , 'Bagsoff docker'
Project 'bagsoff/docker/src/bagsoff' , 'Bagsoff API'
Init 'Bagsoff API' , 'SetupBagsoffAPI'
Project 'bagsoff/docker/src/panel' , 'Bagsoff panel'
Project 'bagsoff/docker/src/web' , 'Bagsoff web'
Project 'selena-pim' , 'Selena'
Init 'Selena' , 'SetupSelena'
Project 'pimcore-maxelektro' , 'Galicja'
Init 'Galicja' , 'SetupGalicja'
Project 'dendrite.me' , 'Dendrite'
Init 'Dendrite' , 'SetupDendrite'
Callback 'Dendrite' , 'CallbackDendrite'
Project '~/.vim' , 'Vim'
function! SetupPHPProject(cwd)
let g:phpactorInitialCwd = a:cwd
set tags=.git/tags
set foldnestmax=1
let g:syntastic_php_checkers = ['php', 'phpmd', 'phpstan']
endfunction
function! SetupAG(title)
let g:init_called_first = 1
call SetupPHPProject('/home/maciej/projects/pimcore-aptekagemini-docker/src')
endfunction
function! SetupAG2(title)
let g:init_called_second = 1
call SetupPHPProject('/home/maciej/projects/pimcore-aptekagemini-docker/src')
endfunction
function! SetupBagsoffAPI(title)
call SetupPHPProject('/home/maciej/projects/bagsoff/docker/src/bagsoff')
endfunction
function! SetupSelena(title)
call SetupPHPProject('/home/maciej/projects/selena-pim')
endfunction
function! SetupGalicja(title)
call SetupPHPProject('/home/maciej/projects/pimcore-maxelektro')
endfunction
function! SetupDendrite(title)
call SetupPHPProject('/home/maciej/projects/dendrite.me')
endfunction
function! CallbackDendrite(title)
let g:phpactorInitialCwd = '/home/maciej/projects/dendrite.me'
endfunction
endif