Browse Source

add fzf and update php-cs-fixer

master
Simon Vieille 3 months ago
parent
commit
05875366b8
Signed by: deblan GPG Key ID: 03383D15A1D31745
1 changed files with 20 additions and 7 deletions
  1. +20
    -7
      vimrc

+ 20
- 7
vimrc View File

@ -13,6 +13,8 @@ endif
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
let g:polyglot_disabled = ['markdown']
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@ -83,7 +85,11 @@ Plugin 'c9s/phpunit.vim'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'dkarter/bullets.vim'
Plugin 'connorholyday/vim-snazzy'
Plugin 'bluz71/vim-moonfly-colors'
Plugin 'glepnir/oceanic-material'
" Plugin 'patstockwell/vim-monokai-tasty'
Plugin 'AlessandroYorba/Sierra'
Plugin 'junegunn/fzf'
call vundle#end()
@ -97,7 +103,16 @@ if has('gui_running')
" colorscheme tender
" colorscheme dracula
" 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
colorscheme Tomorrow-Night-Bright
endif
@ -126,7 +141,7 @@ endif
" NERDTREE-GIT "
""""""""""""""""
let g:NERDTreeIndicatorMapCustom = {
let g:NERDTreeGitStatusIndicatorMapCustom = {
\ 'Modified' : 'M',
\ 'Staged' : 'S',
\ 'Untracked' : '?',
@ -146,8 +161,6 @@ let g:vim_markdown_autowrite = 0
let g:vim_markdown_conceal = 0
let g:instant_markdown_autostart = 0
let g:polyglot_disabled = ['markdown']
" COLORIZER "
"""""""""""""
@ -232,8 +245,8 @@ command! Sfforms CtrlPSymfonyForms
" PHP-CS-FIXER "
""""""""""""""""
let g:php_cs_fixer_level = ''
let g:php_cs_fixer_php_path = "/usr/bin/php7.3"
" let g:php_cs_fixer_level = ''
" let g:php_cs_fixer_php_path = "/usr/bin/php7.3"
" CTAGS "
"""""""""
@ -411,7 +424,7 @@ noremap <F11> :call PhpDoc()<CR>
let mapleader = "_"
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 <c-B> :!php -l %<CR>
map <c-s> :w<CR>


Loading…
Cancel
Save