Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

cloud9にdein.vim導入

失敗した場合のリスクを考えてcloud9でdein.vim導入してみた

1回目
失敗

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

↑コメントアウトが意図しない書き方で入ってしまい失敗

以下をコピペする

$ mkdir -p ~/.cache/dein
$ cd ~/.cache/dein
$ curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2243  100  2243    0     0   6796      0 --:--:-- --:--:-- --:--:--  6796
$ sh ./installer.sh ~/.cache/dein

〜〜省略〜〜

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

Done.
Complete setup dein!
$
"dein Scripts-----------------------------
if &compatible
  set nocompatible               " Be iMproved
endif

" Required:
set runtimepath+=/home/ec2-user/.cache/dein/repos/github.com/Shougo/dein.vim

" Required:
if dein#load_state('/home/ec2-user/.cache/dein')
  call dein#begin('/home/ec2-user/.cache/dein')

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

  " Add or remove your plugins here like this:
  "call dein#add('Shougo/neosnippet.vim')
  "call dein#add('Shougo/neosnippet-snippets')

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

" Required:
filetype plugin indent on
syntax enable

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

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

参考資料(いつもありがとうございます)

dein.vimのインストール自体にハマってしまったメモ

設定ファイル (.vimrc) を開く、リロードする

deinを真面目に設定してみる(TOML)

m_masashi
from190701 日々の学びをアウトプットしていきます。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away