ritarock’s blog

プログラミング・映画・趣味etc...

dein.vimを使ってみる

curl を使ってシェルをダウンロード

curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh -o /tmp/installer.sh

シェルの実行

sh /tmp/installer.sh ~/.vim/dein

"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif

" Required:
set runtimepath+=/home/ubuntu/.vim/dein/repos/github.com/Shougo/dein.vim

" Required:
if dein#load_state('/home/ubuntu/.vim/dein')
call dein#begin('/home/ubuntu/.vim/dein')

" Let dein manage dein
" Required:
call dein#add('/home/ubuntu/.vim/dein/repos/github.com/Shougo/dein.vim')

" Add or remove your plugins here:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
" You can specify revision/branch/tag.
call dein#add('Shougo/vimshell', { 'rev': '3787e5' })

" Required:
call dein#end()
call dein#save_state()
endif

" Required:
filetype plugin indent on
syntax enable

" If you want to install not installed plugins onstartup.
"if dein#check_install()
" call dein#install()
"endif

"End dein Scripts-------------------------

コンソールに表示された↑を home直下の .vimrcに追記