Created
February 22, 2018 08:33
-
-
Save myokoym/efee4fbe99a4c8bff273804b44a9aee9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ---------------------------------------------------- | |
" dein.vim | |
" ---------------------------------------------------- | |
" プラグインが実際にインストールされるディレクトリ | |
let s:dein_dir = expand('~/.vim/dein') | |
" dein.vim 本体 | |
let s:dein_repo_dir = s:dein_dir . '/repos/github.com/Shougo/dein.vim' | |
" dein.vim がなければ github から落としてくる | |
if &runtimepath !~# '/dein.vim' | |
if !isdirectory(s:dein_repo_dir) | |
execute '!git clone https://github.com/Shougo/dein.vim' s:dein_repo_dir | |
endif | |
execute 'set runtimepath^=' . fnamemodify(s:dein_repo_dir, ':p') | |
endif | |
" 設定開始 | |
if dein#load_state(s:dein_dir) | |
call dein#begin(s:dein_dir) | |
call dein#add('thinca/vim-quickrun') | |
call dein#add('tpope/vim-endwise') | |
call dein#add('mattn/emmet-vim') | |
call dein#add('cohama/agit.vim') | |
call dein#add('haya14busa/incsearch.vim') | |
call dein#add('fuenor/JpFormat.vim') | |
call dein#add('tomtom/tcomment_vim') | |
call dein#add('scrooloose/nerdtree') | |
call dein#add('Xuyuanp/nerdtree-git-plugin') | |
call dein#add('othree/html5.vim') | |
call dein#add('tpope/vim-fugitive') | |
call dein#add('tpope/vim-rails') | |
call dein#add('tpope/vim-surround') | |
call dein#add('vim-scripts/rest.vim') | |
call dein#add('junegunn/vim-easy-align') | |
call dein#add('ConradIrwin/vim-bracketed-paste') | |
call dein#add('haya14busa/vim-edgemotion') | |
call dein#add('itchyny/lightline.vim') | |
call dein#add('taohex/lightline-buffer') | |
call dein#add('ctrlpvim/ctrlp.vim') | |
call dein#add('vim-jp/vimdoc-ja') | |
call dein#add('myokoym/insert-git-log.vim') | |
call dein#add('rking/ag.vim') | |
" 設定終了 | |
call dein#end() | |
call dein#save_state() | |
endif | |
" もし、未インストールものものがあったらインストール | |
if dein#check_install() | |
call dein#install() | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment