Vundle -> Plug
This commit is contained in:
68
.vimrc
68
.vimrc
@@ -2,47 +2,43 @@ let mapleader = ","
|
||||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
|
||||
let vundle_dir="~/.vim/bundle/Vundle.vim"
|
||||
if filereadable(expand(vundle_dir) . "/README.md")
|
||||
" set the runtime path to include Vundle and initialize
|
||||
let &rtp .= "," . vundle_dir
|
||||
call vundle#begin()
|
||||
let plug_fpath="~/.vim/autoload/plug.vim"
|
||||
if filereadable(expand(plug_fpath))
|
||||
call plug#begin()
|
||||
|
||||
Plugin 'VundleVim/Vundle.vim' " let Vundle manage Vundle, required
|
||||
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'c.vim'
|
||||
Plugin 'jeetsukumaran/vim-buffergator'
|
||||
Plugin 'ericcurtin/CurtineIncSw.vim'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
Plugin 'rhysd/vim-clang-format'
|
||||
Plugin 'godlygeek/tabular'
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
Plugin 'jeetsukumaran/vim-pythonsense'
|
||||
Plugin 'easymotion/vim-easymotion'
|
||||
Plugin 'cpiger/NeoDebug'
|
||||
Plugin 'ivan-krukov/vim-snakemake'
|
||||
Plugin 'nvie/vim-flake8'
|
||||
Plugin 'ludovicchabant/vim-gutentags'
|
||||
Plugin 'junegunn/vim-peekaboo'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'vim-scripts/c.vim'
|
||||
Plug 'jeetsukumaran/vim-buffergator'
|
||||
Plug 'ericcurtin/CurtineIncSw.vim'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'rhysd/vim-clang-format'
|
||||
Plug 'godlygeek/tabular'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'jeetsukumaran/vim-pythonsense'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'cpiger/NeoDebug'
|
||||
Plug 'ivan-krukov/vim-snakemake'
|
||||
Plug 'nvie/vim-flake8'
|
||||
Plug 'ludovicchabant/vim-gutentags'
|
||||
Plug 'junegunn/vim-peekaboo'
|
||||
if has('python3') && empty($VIM_DISABLE_YCM)
|
||||
Plugin 'ycm-core/YouCompleteMe'
|
||||
Plug 'ycm-core/YouCompleteMe', { 'do': './install.py' }
|
||||
endif
|
||||
Plugin 'dense-analysis/ale'
|
||||
Plugin 'tpope/vim-unimpaired'
|
||||
Plugin 'JuliaEditorSupport/julia-vim'
|
||||
Plugin 'tell-k/vim-autopep8'
|
||||
Plugin 'jpalardy/vim-slime'
|
||||
Plugin 'preservim/tagbar'
|
||||
Plugin 'wellle/context.vim'
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'tpope/vim-unimpaired'
|
||||
Plug 'JuliaEditorSupport/julia-vim'
|
||||
Plug 'tell-k/vim-autopep8'
|
||||
Plug 'jpalardy/vim-slime'
|
||||
Plug 'preservim/tagbar'
|
||||
Plug 'wellle/context.vim'
|
||||
|
||||
call vundle#end() " required
|
||||
call plug#end()
|
||||
else
|
||||
let vundle_repo="https://github.com/VundleVim/Vundle.vim.git"
|
||||
echo "Vundle not installed, type :CloneVundle to clone the vundle repo and install it"
|
||||
command! CloneVundle execute "!git clone " . vundle_repo . " " . vundle_dir | source $MYVIMRC | echo "Cloned Vundle. Do :PluginInstall"
|
||||
let plug_url="https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
|
||||
echo "Plug not installed, type :CurlPlug to download and install plug"
|
||||
command! CurlPlug execute "!curl -fLo " . plug_fpath . " --create-dirs " . plug_url | source $MYVIMRC | echo "Curled Plug. Do :PlugInstall"
|
||||
endif
|
||||
|
||||
set tabstop=4 " show existing tab with 4 spaces width
|
||||
|
||||
Reference in New Issue
Block a user