Change Vundle conf for Vim-Plug.
This commit is contained in:
parent
322cfe1f3b
commit
f4f0b92737
79
vim/vimrc
79
vim/vimrc
@ -44,65 +44,33 @@ cnoremap w!! w !sudo tee > /dev/null %
|
||||
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""
|
||||
" __ ___ _ _ _ ____ _ _____
|
||||
" \ \ / / | | | \ | | _ \| | | ____|
|
||||
" \ \ / /| | | | \| | | | | | | _|
|
||||
" \ V / | |_| | |\ | |_| | |___| |___
|
||||
" \_/ \___/|_| \_|____/|_____|_____|
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" __ _____ __ __ ____ _ _ _ ____
|
||||
" \ \ / /_ _| \/ | | _ \| | | | | |/ ___|
|
||||
" \ \ / / | || |\/| | | |_) | | | | | | | _
|
||||
" \ V / | || | | | | __/| |__| |_| | |_| |
|
||||
" \_/ |___|_| |_| |_| |_____\___/ \____|
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
" alternatively, pass a path where Vundle should install plugins
|
||||
"call vundle#begin('~/some/path/here')
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Load vim-plug
|
||||
if empty(glob("~/.vim/autoload/plug.vim"))
|
||||
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
|
||||
endif
|
||||
|
||||
" let Vundle manage Vundle, required
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
" Specify a directory for plugins
|
||||
" - For Neovim: ~/.local/share/nvim/plugged
|
||||
" - Avoid using standard Vim directory names like 'plugin'
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
" on GitHub repo
|
||||
"Plugin 'ajh17/VimCompletesMe'
|
||||
Plugin 'Shougo/denite.nvim'
|
||||
Plugin 'itchyny/lightline.vim'
|
||||
Plugin 'scrooloose/syntastic'
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plugin 'vim-scripts/colorizer'
|
||||
Plugin 'JamshedVesuna/vim-markdown-preview'
|
||||
Plugin 'scrooloose/nerdcommenter'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'tpope/vim-sleuth'
|
||||
Plugin 'Valloric/YouCompleteMe'
|
||||
Plugin 'mhinz/vim-signify'
|
||||
Plugin 'godlygeek/tabular'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'plasticboy/vim-markdown'
|
||||
Plugin 'mattn/gist-vim'
|
||||
Plugin 'kamwitsta/commentToggle'
|
||||
Plugin 'flazz/vim-colorschemes'
|
||||
Plugin 'xero/sourcerer.vim'
|
||||
Plugin 'dracula/vim'
|
||||
Plugin 'romainl/apprentice'
|
||||
Plugin 'jacoborus/tender'
|
||||
Plugin 'noahfrederick/vim-noctu'
|
||||
Plugin 'ryanoasis/vim-devicons'
|
||||
Plug 'flazz/vim-colorschemes'
|
||||
Plug 'xero/sourcerer.vim'
|
||||
Plug 'romainl/apprentice'
|
||||
Plug 'dracula/vim'
|
||||
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
|
||||
|
||||
" 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
|
||||
" :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
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
|
||||
|
||||
@ -159,4 +127,3 @@ colorscheme dracula
|
||||
let vim_markdown_preview_toggle=1
|
||||
let vim_markdown_preview_toggle=2
|
||||
let vim_markdown_preview_browser='firefox'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user