vimrc comments
This commit is contained in:
parent
60a50fc094
commit
b6f75a7b33
51
vimrc
51
vimrc
|
@ -54,7 +54,6 @@ Plugin 'jistr/vim-nerdtree-tabs'
|
||||||
Plugin 'raimondi/delimitmate'
|
Plugin 'raimondi/delimitmate'
|
||||||
Plugin 'dietsche/vim-lastplace.git'
|
Plugin 'dietsche/vim-lastplace.git'
|
||||||
Plugin 'tomtom/tcomment_vim'
|
Plugin 'tomtom/tcomment_vim'
|
||||||
" Plugin 'phpvim/phpcd.vim'
|
|
||||||
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
|
||||||
|
@ -65,7 +64,6 @@ call vundle#end()
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
colorscheme Tomorrow-Night-Bright
|
colorscheme Tomorrow-Night-Bright
|
||||||
"colorscheme gruvbox
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
|
@ -81,8 +79,14 @@ set completeopt-=preview
|
||||||
" PLUGINS CONFIGURATION
|
" PLUGINS CONFIGURATION
|
||||||
"""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""
|
||||||
|
|
||||||
" SNIPS
|
" PHP-CS-FIXER "
|
||||||
"""""""
|
""""""""""""""""
|
||||||
|
|
||||||
|
let g:php_cs_fixer_level = 'symfony'
|
||||||
|
|
||||||
|
|
||||||
|
" SNIPS "
|
||||||
|
"""""""""
|
||||||
|
|
||||||
let g:snips_author = "Simon Vieille <simon@deblan.fr>"
|
let g:snips_author = "Simon Vieille <simon@deblan.fr>"
|
||||||
let g:snips_email = "simon@deblan.fr"
|
let g:snips_email = "simon@deblan.fr"
|
||||||
|
@ -93,20 +97,20 @@ let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||||
let g:UltiSnipsEditSplit="vertical"
|
let g:UltiSnipsEditSplit="vertical"
|
||||||
|
|
||||||
" CLOSETAG
|
" CLOSETAG "
|
||||||
""""""""""
|
""""""""""""
|
||||||
|
|
||||||
au Filetype html,xml,xsl,php,jsp,jspf,twig source ~/.vim/bundle/closetag.vim/plugin/closetag.vim
|
au Filetype html,xml,xsl,php,jsp,jspf,twig source ~/.vim/bundle/closetag.vim/plugin/closetag.vim
|
||||||
|
|
||||||
" NERDTree
|
" NERDTree "
|
||||||
""""""""""
|
""""""""""""
|
||||||
|
|
||||||
let g:nerdtree_tabs_open_on_gui_startup = 2
|
let g:nerdtree_tabs_open_on_gui_startup = 2
|
||||||
let g:nerdtree_tabs_open_on_console_startup = 2
|
let g:nerdtree_tabs_open_on_console_startup = 2
|
||||||
let g:nerdtree_tabs_autoclose = 0
|
let g:nerdtree_tabs_autoclose = 0
|
||||||
|
|
||||||
" EMMET
|
" EMMET "
|
||||||
"""""""
|
"""""""""
|
||||||
|
|
||||||
let g:user_emmet_expandabbr_key = '<c-e>'
|
let g:user_emmet_expandabbr_key = '<c-e>'
|
||||||
let g:use_emmet_complete_tag = 1
|
let g:use_emmet_complete_tag = 1
|
||||||
|
@ -179,28 +183,30 @@ let g:user_emmet_settings = {
|
||||||
\}
|
\}
|
||||||
|
|
||||||
|
|
||||||
" GITGUTTER
|
" GITGUTTER "
|
||||||
"""""""""""
|
"""""""""""""
|
||||||
|
|
||||||
let g:gitgutter_max_signs = 1000
|
let g:gitgutter_max_signs = 1000
|
||||||
|
|
||||||
" CTAGS
|
" CTAGS "
|
||||||
"""""""
|
"""""""""
|
||||||
|
|
||||||
let Tlist_Process_File_Always = 1
|
let Tlist_Process_File_Always = 1
|
||||||
let Tlist_Ctags_Cmd='/usr/bin/ctags'
|
let Tlist_Ctags_Cmd='/usr/bin/ctags'
|
||||||
|
|
||||||
" PHP COMPLETE
|
" PHP COMPLETE "
|
||||||
""""""""""""""
|
""""""""""""""""
|
||||||
|
|
||||||
|
|
||||||
" CTRLP
|
" CTRLP "
|
||||||
"""""""
|
"""""""""
|
||||||
|
|
||||||
let g:ctrlp_user_command = "/home/simon/bin/vim-find %s "
|
let g:ctrlp_user_command = "/home/simon/bin/vim-find %s "
|
||||||
|
|
||||||
|
|
||||||
" NEOCOMPLETE
|
" NEOCOMPLETE "
|
||||||
"""""""""""""
|
"""""""""""""""
|
||||||
|
|
||||||
function! s:my_cr_function()
|
function! s:my_cr_function()
|
||||||
return neocomplete#close_popup() . "\<CR>"
|
return neocomplete#close_popup() . "\<CR>"
|
||||||
"return (pumvisible() ? "\<C-y>" : "" ) . "\<CR>"
|
"return (pumvisible() ? "\<C-y>" : "" ) . "\<CR>"
|
||||||
|
@ -239,8 +245,9 @@ inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
inoremap <expr><C-h> neocomplete#smart_close_popup()."\<C-h>"
|
inoremap <expr><C-h> neocomplete#smart_close_popup()."\<C-h>"
|
||||||
inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>"
|
inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>"
|
||||||
|
|
||||||
" PDV (DOC)
|
" PDV (DOC) "
|
||||||
"""""""""""
|
"""""""""""""
|
||||||
|
|
||||||
function! PhpSyntaxOverride()
|
function! PhpSyntaxOverride()
|
||||||
hi! def link phpDocTags phpDefine
|
hi! def link phpDocTags phpDefine
|
||||||
hi! def link phpDocParam phpType
|
hi! def link phpDocParam phpType
|
||||||
|
|
Loading…
Reference in a new issue