update conf
This commit is contained in:
parent
1b2ca1f7db
commit
055aac0bd0
19
vimrc
19
vimrc
|
@ -28,7 +28,8 @@ Plugin 'majutsushi/tagbar'
|
|||
Plugin 'leafgarland/typescript-vim.git'
|
||||
Plugin 'SirVer/ultisnips.git'
|
||||
Plugin 'taglist.vim'
|
||||
Plugin 'bling/vim-airline.git'
|
||||
" Plugin 'bling/vim-airline.git'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'kchmck/vim-coffee-script.git'
|
||||
Plugin 'sheerun/vim-polyglot'
|
||||
Plugin 'honza/vim-snippets.git'
|
||||
|
@ -46,7 +47,7 @@ Plugin 'php-doc-upgrade'
|
|||
Plugin 'php.vim'
|
||||
Plugin 'closetag.vim'
|
||||
Plugin 'vim-scripts/Emmet.vim'
|
||||
Plugin 'beyondwords/vim-twig'
|
||||
" Plugin 'beyondwords/vim-twig'
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plugin 'jistr/vim-nerdtree-tabs'
|
||||
|
@ -72,7 +73,7 @@ Plugin 'suan/vim-instant-markdown'
|
|||
Plugin 'dracula/vim'
|
||||
Plugin 'sniphpets/sniphpets-doctrine'
|
||||
Plugin 'sniphpets/sniphpets'
|
||||
Plugin 'jaxbot/semantic-highlight.vim'
|
||||
"Plugin 'jaxbot/semantic-highlight.vim'
|
||||
Plugin 'thaerkh/vim-indentguides'
|
||||
Plugin 'PotatoesMaster/i3-vim-syntax'
|
||||
Plugin 'fatih/vim-go'
|
||||
|
@ -90,6 +91,8 @@ Plugin 'glepnir/oceanic-material'
|
|||
" Plugin 'patstockwell/vim-monokai-tasty'
|
||||
Plugin 'AlessandroYorba/Sierra'
|
||||
Plugin 'junegunn/fzf'
|
||||
Plugin 'ParamagicDev/vim-medic_chalk'
|
||||
|
||||
|
||||
call vundle#end()
|
||||
|
||||
|
@ -111,6 +114,7 @@ if has('gui_running')
|
|||
" let g:sierra_Midnight = 1
|
||||
" let g:sierra_Twilight = 1
|
||||
" let g:sierra_Sunset = 1
|
||||
|
||||
let g:sierra_Pitch = 1
|
||||
colorscheme sierra
|
||||
else
|
||||
|
@ -153,6 +157,8 @@ let g:NERDTreeGitStatusIndicatorMapCustom = {
|
|||
\ 'Unknown' : '?!'
|
||||
\ }
|
||||
|
||||
let s:tlist_0_v_count = 0
|
||||
|
||||
" Markdown preview "
|
||||
""""""""""""""""""""
|
||||
let g:vim_markdown_auto_insert_bullets = 1
|
||||
|
@ -272,7 +278,7 @@ let g:user_emmet_settings = {
|
|||
\ 'ppf' : "protected function |()\n{\n\n}",
|
||||
\ 'pppf' : "private function |()\n{\n\n}",
|
||||
\ 'sf:pdo': "\\$con = Propel::getConnection();\n\\$stmt = \\$con->prepare('|');\n\\$stmt->bindValue();\n\\$stmt->execute();\n\\$results = \\$stmt->fetchAll();",
|
||||
\ 'b:add': "\\$builder->add(\n '|',\n 'text',\n [\n 'label' => '',\n 'required' => true,\n 'attr' => [\n ],\n 'constraints' => [\n ],\n ]\n);",
|
||||
\ 'b:add': "\\$builder->add(\n '|',\n TextType::class,\n [\n 'label' => '',\n 'required' => true,\n 'attr' => [\n ],\n 'constraints' => [\n ],\n ]\n);",
|
||||
\ 'b:addfile': "\\$builder->add(\n \\$builder->create(\n '|',\n 'file',\n [\n 'label' => '',\n 'attr' => [\n ],\n 'constraints' => [\n ],\n ]\n )->addModelTransformer(new \\Trinity\\Component\\Form\\DataTransformer\\StringToFileTransformer(\\$builder->getData(), 'file'))\n);\n\n\\$builder->addEventSubscriber(\n new \\Trinity\\Component\\Form\\EventListener\\FileDeleteFormListener(\n \\$builder->getFormFactory(),\n [\n '|',\n ]\n )\n);",
|
||||
\ 'foreach': "foreach (\\$| as \\$k => \\$v) {\n\t\n}",
|
||||
\ 'vard': "echo '<pre>', var_dump(|), '</pre>';\n",
|
||||
|
@ -424,7 +430,7 @@ noremap <F11> :call PhpDoc()<CR>
|
|||
let mapleader = "_"
|
||||
|
||||
map <F1> :!indentation %<CR>
|
||||
map <F2> :!php7.3 ~/php-cs-fixer.phar fix "%" --rules=@PSR2,@PhpCsFixer,@Symfony<CR>
|
||||
map <F2> :!php7.4 ~/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>
|
||||
|
@ -477,7 +483,8 @@ set hlsearch
|
|||
set nomodeline
|
||||
" set modeline
|
||||
" set guifont=Consolas\ 13
|
||||
set guifont=Fantasque\ Sans\ Mono\ 14
|
||||
" set guifont=Fantasque\ Sans\ Mono\ 14
|
||||
set guifont=JetBrains\ Mono\ Medium\ 14
|
||||
|
||||
autocmd FileType php setlocal expandtab
|
||||
autocmd FileType javascript setlocal expandtab
|
||||
|
|
Loading…
Reference in a new issue