Change Vundle to vim-plug
This commit is contained in:
parent
d0a1a3b63f
commit
87bbe81086
1 changed files with 17 additions and 23 deletions
|
@ -21,50 +21,44 @@ imap <F2> <ESC>:w<CR>i
|
||||||
nmap <leader>y "*yy
|
nmap <leader>y "*yy
|
||||||
nmap <leader>p "*p
|
nmap <leader>p "*p
|
||||||
" }}}
|
" }}}
|
||||||
" VUNDLE {{{
|
" VIM-PLUG {{{
|
||||||
filetype off
|
call plug#begin('~/.vim/plugged')
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
|
||||||
call vundle#begin()
|
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
|
||||||
|
|
||||||
" AUTOCOMPLETION, FORMATTING AND LINTING
|
" AUTOCOMPLETION, FORMATTING AND LINTING
|
||||||
" Main autocompletion
|
" Main autocompletion
|
||||||
Plugin 'ycm-core/YouCompleteMe'
|
Plug 'ycm-core/YouCompleteMe', { 'do': './install.py --clang-completer --rust-complete --system-libclang' }
|
||||||
" PEP8 linting for Python
|
" PEP8 linting for Python
|
||||||
Plugin 'nvie/vim-flake8'
|
Plug 'nvie/vim-flake8'
|
||||||
" Vim integration for various linters
|
" Vim integration for various linters
|
||||||
Plugin 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
" Black autoformatter for Python
|
" Black autoformatter for Python
|
||||||
Plugin 'psf/black'
|
Plug 'psf/black', { 'branch': 'stable' }
|
||||||
|
|
||||||
" HIGHLIGHTING
|
" HIGHLIGHTING
|
||||||
" Whitespace highlighting and removal
|
" Whitespace highlighting and removal
|
||||||
Plugin 'ntpeters/vim-better-whitespace'
|
Plug 'ntpeters/vim-better-whitespace'
|
||||||
" Python IDE
|
" Python IDE
|
||||||
Plugin 'python-mode/python-mode'
|
Plug 'python-mode/python-mode', { 'do': 'git submodule update --init --recursive' }
|
||||||
" C syntax highlighting
|
" C syntax highlighting
|
||||||
Plugin 'c.vim'
|
Plug 'vim-scripts/c.vim'
|
||||||
" Rust syntax highlighting
|
" Rust syntax highlighting
|
||||||
Plugin 'rust-lang/rust.vim'
|
Plug 'rust-lang/rust.vim'
|
||||||
" Markdown syntax highlighting
|
" Markdown syntax highlighting
|
||||||
Plugin 'godlygeek/tabular' | Plugin 'plasticboy/vim-markdown'
|
Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
|
||||||
|
|
||||||
" STATUSLINE
|
" STATUSLINE
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plugin 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
|
||||||
" MISC.
|
" MISC.
|
||||||
" A tree explorer plugin
|
" A tree explorer plugin
|
||||||
Plugin 'preservim/nerdtree'
|
Plug 'preservim/nerdtree'
|
||||||
" A NERDTree plugin showing git status
|
" A NERDTree plugin showing git status
|
||||||
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||||
" Display thin vertical lines at each indentation level
|
" Display thin vertical lines at each indentation level
|
||||||
Plugin 'Yggdroot/indentLine'
|
Plug 'Yggdroot/indentLine'
|
||||||
|
|
||||||
call vundle#end()
|
call plug#end()
|
||||||
filetype plugin indent on
|
|
||||||
" }}}
|
" }}}
|
||||||
" PLUGIN OPTIONS {{{
|
" PLUGIN OPTIONS {{{
|
||||||
let g:ale_python_mypy_options = '--strict --strict-optional'
|
let g:ale_python_mypy_options = '--strict --strict-optional'
|
||||||
|
|
Loading…
Add table
Reference in a new issue