LoginSignup
0
0

More than 3 years have passed since last update.

cloud9にdein.vim導入

Last updated at Posted at 2020-11-07

失敗した場合のリスクを考えて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)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0