add fzf and update php-cs-fixer
This commit is contained in:
parent
949c8f122d
commit
05875366b8
27
vimrc
27
vimrc
|
@ -13,6 +13,8 @@ endif
|
||||||
|
|
||||||
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
|
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
|
||||||
|
|
||||||
|
let g:polyglot_disabled = ['markdown']
|
||||||
|
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
|
@ -83,7 +85,11 @@ Plugin 'c9s/phpunit.vim'
|
||||||
Plugin 'terryma/vim-multiple-cursors'
|
Plugin 'terryma/vim-multiple-cursors'
|
||||||
Plugin 'dkarter/bullets.vim'
|
Plugin 'dkarter/bullets.vim'
|
||||||
Plugin 'connorholyday/vim-snazzy'
|
Plugin 'connorholyday/vim-snazzy'
|
||||||
|
Plugin 'bluz71/vim-moonfly-colors'
|
||||||
|
Plugin 'glepnir/oceanic-material'
|
||||||
" Plugin 'patstockwell/vim-monokai-tasty'
|
" Plugin 'patstockwell/vim-monokai-tasty'
|
||||||
|
Plugin 'AlessandroYorba/Sierra'
|
||||||
|
Plugin 'junegunn/fzf'
|
||||||
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
|
||||||
|
@ -97,7 +103,16 @@ if has('gui_running')
|
||||||
" colorscheme tender
|
" colorscheme tender
|
||||||
" colorscheme dracula
|
" colorscheme dracula
|
||||||
" colorscheme vim-monokai-tasty
|
" colorscheme vim-monokai-tasty
|
||||||
colorscheme snazzy
|
" colorscheme moonfly
|
||||||
|
" set background=dark
|
||||||
|
" colorscheme oceanic_material
|
||||||
|
" colorscheme snazzy
|
||||||
|
|
||||||
|
" let g:sierra_Midnight = 1
|
||||||
|
" let g:sierra_Twilight = 1
|
||||||
|
" let g:sierra_Sunset = 1
|
||||||
|
let g:sierra_Pitch = 1
|
||||||
|
colorscheme sierra
|
||||||
else
|
else
|
||||||
colorscheme Tomorrow-Night-Bright
|
colorscheme Tomorrow-Night-Bright
|
||||||
endif
|
endif
|
||||||
|
@ -126,7 +141,7 @@ endif
|
||||||
|
|
||||||
" NERDTREE-GIT "
|
" NERDTREE-GIT "
|
||||||
""""""""""""""""
|
""""""""""""""""
|
||||||
let g:NERDTreeIndicatorMapCustom = {
|
let g:NERDTreeGitStatusIndicatorMapCustom = {
|
||||||
\ 'Modified' : 'M',
|
\ 'Modified' : 'M',
|
||||||
\ 'Staged' : 'S',
|
\ 'Staged' : 'S',
|
||||||
\ 'Untracked' : '?',
|
\ 'Untracked' : '?',
|
||||||
|
@ -146,8 +161,6 @@ let g:vim_markdown_autowrite = 0
|
||||||
let g:vim_markdown_conceal = 0
|
let g:vim_markdown_conceal = 0
|
||||||
let g:instant_markdown_autostart = 0
|
let g:instant_markdown_autostart = 0
|
||||||
|
|
||||||
let g:polyglot_disabled = ['markdown']
|
|
||||||
|
|
||||||
|
|
||||||
" COLORIZER "
|
" COLORIZER "
|
||||||
"""""""""""""
|
"""""""""""""
|
||||||
|
@ -232,8 +245,8 @@ command! Sfforms CtrlPSymfonyForms
|
||||||
" PHP-CS-FIXER "
|
" PHP-CS-FIXER "
|
||||||
""""""""""""""""
|
""""""""""""""""
|
||||||
|
|
||||||
let g:php_cs_fixer_level = ''
|
" let g:php_cs_fixer_level = ''
|
||||||
let g:php_cs_fixer_php_path = "/usr/bin/php7.3"
|
" let g:php_cs_fixer_php_path = "/usr/bin/php7.3"
|
||||||
|
|
||||||
" CTAGS "
|
" CTAGS "
|
||||||
"""""""""
|
"""""""""
|
||||||
|
@ -411,7 +424,7 @@ noremap <F11> :call PhpDoc()<CR>
|
||||||
let mapleader = "_"
|
let mapleader = "_"
|
||||||
|
|
||||||
map <F1> :!indentation %<CR>
|
map <F1> :!indentation %<CR>
|
||||||
map <F2> :!php7.3 ~/php-cs-fixer.phar fix "%" --rules=@PSR2 <CR>
|
map <F2> :!php7.3 ~/php-cs-fixer.phar fix "%" --rules=@PSR2,@PhpCsFixer,@Symfony<CR>
|
||||||
map <F8> :!phpmd % text /usr/share/phpmd/psr2.xml \| cut -d: -f2-<CR>
|
map <F8> :!phpmd % text /usr/share/phpmd/psr2.xml \| cut -d: -f2-<CR>
|
||||||
map <c-B> :!php -l %<CR>
|
map <c-B> :!php -l %<CR>
|
||||||
map <c-s> :w<CR>
|
map <c-s> :w<CR>
|
||||||
|
|
Loading…
Reference in a new issue