Skip to content

Instantly share code, notes, and snippets.

@myokoym
Created February 22, 2018 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myokoym/efee4fbe99a4c8bff273804b44a9aee9 to your computer and use it in GitHub Desktop.
Save myokoym/efee4fbe99a4c8bff273804b44a9aee9 to your computer and use it in GitHub Desktop.
" ----------------------------------------------------
" 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