Changed to vim-polygot to support more file types.
This commit is contained in:
parent
98dfc05d59
commit
76aa1919f4
1 changed files with 27 additions and 59 deletions
|
|
@ -1,76 +1,44 @@
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
||||||
" START - Setting up Vundle - the vim plugin bundler
|
|
||||||
let iCanHazVundle=1
|
|
||||||
let vundle_readme=expand('~/.vim/bundle/Vundle.vim/README.md')
|
|
||||||
if !filereadable(vundle_readme)
|
|
||||||
echo "Installing Vundle.."
|
|
||||||
echo ""
|
|
||||||
silent !mkdir -p ~/.vim/bundle
|
|
||||||
silent !git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
||||||
let iCanHazVundle=0
|
|
||||||
endif
|
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim/
|
|
||||||
call vundle#rc()
|
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
"vim-plug installation
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
|
||||||
|
|
||||||
if iCanHazVundle == 0
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||||
echo "Installing Bundles, please ignore key map error messages"
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||||
echo ""
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
:source $MYVIMRC
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
:PluginInstall
|
|
||||||
endif
|
endif
|
||||||
" END - Setting up Vundle - the vim plugin bundler
|
|
||||||
|
|
||||||
|
|
||||||
set nocompatible " be iMproved, required
|
set nocompatible " be iMproved, required
|
||||||
filetype off " required
|
|
||||||
|
|
||||||
" set the runtime path to include Vundle and initialize
|
call plug#begin('~/.vim/bundle')
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
|
||||||
call vundle#begin()
|
|
||||||
" alternatively, pass a path where Vundle should install plugins
|
|
||||||
"call vundle#begin('~/some/path/here')
|
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
|
||||||
|
|
||||||
Plugin 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plugin 'artur-shaik/vim-javacomplete2'
|
Plug 'artur-shaik/vim-javacomplete2'
|
||||||
Plugin 'ctrlpvim/ctrlp.vim'
|
Plug 'chauncey-garrett/vim-tasklist'
|
||||||
Plugin 'davidhalter/jedi-vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
Plugin 'dense-analysis/ale'
|
Plug 'davidhalter/jedi-vim'
|
||||||
Plugin 'ervandew/supertab'
|
Plug 'dense-analysis/ale'
|
||||||
Plugin 'junegunn/vim-peekaboo'
|
Plug 'ervandew/supertab'
|
||||||
Plugin 'keith/swift.vim'
|
Plug 'junegunn/vim-peekaboo'
|
||||||
Plugin 'LaTeX-Box-Team/LaTeX-Box'
|
Plug 'junegunn/vim-plug'
|
||||||
Plugin 'mattn/emmet-vim'
|
Plug 'keith/swift.vim'
|
||||||
Plugin 'mattn/webapi-vim'
|
Plug 'LaTeX-Box-Team/LaTeX-Box'
|
||||||
Plugin 'posva/vim-vue'
|
Plug 'mattn/emmet-vim'
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plug 'mattn/webapi-vim'
|
||||||
Plugin 'Townk/vim-autoclose'
|
Plug 'posva/vim-vue'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plugin 'tpope/vim-surround'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plug 'Townk/vim-autoclose'
|
||||||
Plugin 'chauncey-garrett/vim-tasklist'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plugin 'Vimjas/vim-python-pep8-indent'
|
Plug 'tpope/vim-surround'
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plug 'vim-airline/vim-airline'
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
|
||||||
call vundle#end() " required
|
|
||||||
filetype plugin indent on " required
|
|
||||||
" To ignore plugin indent changes, instead use:
|
|
||||||
filetype plugin on
|
|
||||||
|
|
||||||
" Brief help
|
call plug#end()
|
||||||
" :PluginList - lists configured plugins
|
|
||||||
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
|
|
||||||
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
|
|
||||||
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
|
|
||||||
|
|
||||||
" see :h vundle for more details or wiki for FAQ
|
|
||||||
" Put your non-Plugin stuff after this line
|
|
||||||
|
|
||||||
|
|
||||||
" Leader
|
" Leader
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue