Update vim config with new plugins

This commit is contained in:
Leon Grünewald 2021-05-31 12:44:27 +02:00
parent d7f0cfed73
commit 83d8610df4
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +1,5 @@
source ~/.vimrc source ~/.vimrc
set inccommand=nosplit
lua << EOF lua << EOF
require'lspconfig'.phpactor.setup{} require'lspconfig'.phpactor.setup{}

13
.vimrc
View file

@ -1,15 +1,18 @@
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'neovim/nvim-lspconfig' Plug 'neovim/nvim-lspconfig'
Plug 'easymotion/vim-easymotion'
Plug 'adelarsq/vim-matchit' Plug 'adelarsq/vim-matchit'
Plug 'bronson/vim-trailing-whitespace'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'arnaud-lb/vim-php-namespace', {'for': 'php'} Plug 'bronson/vim-trailing-whitespace'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
Plug 'wincent/ferret' Plug 'wincent/ferret'
Plug 'sheerun/vim-polyglot'
Plug 'mattn/emmet-vim'
Plug 'justinmk/vim-sneak'
Plug 'alvan/vim-closetag'
Plug 'mipmip/vim-fluid'
call plug#end() call plug#end()
"" NERDTree config "" NERDTree config
@ -27,6 +30,9 @@ let g:ctrlp_max_depth=40
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git' let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
let g:ctrlp_show_hidden = 1 let g:ctrlp_show_hidden = 1
"" Vim Closetag
let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml'
"" Vim Config "" Vim Config
" Some autocompletion settings. " Some autocompletion settings.
set completeopt+=longest,menuone,menu,preview set completeopt+=longest,menuone,menu,preview
@ -42,4 +48,3 @@ set expandtab
set autoindent set autoindent
let mapleader=" " let mapleader=" "